Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor log pollution on Win11 when using actions #448

Closed
jacoblockett opened this issue Aug 27, 2024 · 3 comments
Closed

Minor log pollution on Win11 when using actions #448

jacoblockett opened this issue Aug 27, 2024 · 3 comments

Comments

@jacoblockett
Copy link

Is there a way to remove the log to the console that occurs when the user clicks on a toast button?

notifier.notify(
	{
		title: "dlr",
		message: `Done. A log can be found at ${logFilePath}`,
		sound: true,
		actions: ["Open log", "Close"],
	},
	(_, response) => {
		if (response === "open log") {
			open(logFilePath)
		}
	}
)

Regardless of the callback logging the response in my code, this produces one of:

Open log
Close

I tried to dig around the source but didn't see anything immediately obvious. Please let me know if there's an option to mute this that I'm missing or where it's coming from so that I can mute it in source. I looked around in issues but didn't find anyone else mentioning this. Sorry if I missed it!

@mikaelbr
Copy link
Owner

Is this on mac? This might be hidden away in terminal-notifier which is used underneath 🤔

@jacoblockett
Copy link
Author

This is on Windows 11. The same behavior can be seen in the Windows example gif in the README, I just assumed it was being logged on purpose in the demo.

@mikaelbr
Copy link
Owner

This seems to be an issue with SnoreToast as vendor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants