-
Notifications
You must be signed in to change notification settings - Fork 93
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
Windows 11 support? #51
Comments
Looks like it is simply an addition of another comparison to https://github.com/gen2brain/beeep/blob/master/notify_windows.go#L35. |
I guess it should not be difficult to add support, if everything else is the same. I don't have Win11 system to try currently, so it can take some time, any help is welcome. |
I don't think that's the problem, because the value of CurrentMajorVersionNumber in the windows 11 registry is the same as the value on windows 10. |
looks like github.com/go-toast/toast is not working with windows 11 |
It works for me on my installation of windows 11 home. Also beeep uses the correct toastNotify method. |
If anyone is interested, I took a look into this and from what I can ascertain the Powershell script that is generated to conduct the toast notification on Windows no longer works in Windows 11. There are no errors returned from Powershell itself, but no notifications occur. I am assuming Windows 11 reworked the system somehow and it is no longer possible? To double check this theory, I followed a guide using a slightly different method to create notifications and seemingly nothing happened there, either. I also asked ChatGPT for help as well on generating toast notifications with PS in Windows 11 to see if it could provide useful solutions, and it said " As mentioned earlier, the registry key does identify itself as "10" in Win11, so something like the build version key would be better to target in the future (Windows 11 builds begin at 22000). But this makes no difference until an alternate method to generate notifications is solved, unfortunately. |
There is apparently a way: https://learn.microsoft.com/en-us/windows/apps/design/shell/tiles-and-notifications/send-local-toast-other-apps |
Also confirmed here: What however does not work for me is to |
Anyone knows if this package works with windows 11 aswell? Because i'm trying to implent it in my application but it doesn't send any system notification, i managed to make work only the beeep.Beep() .
The text was updated successfully, but these errors were encountered: