-
Notifications
You must be signed in to change notification settings - Fork 35
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 7 #12
Comments
On Windows 7, if you are using a non-aero theme (ex Windows 7 Basic), transparency does not work. The notifications use transparency to round the corners, so you can't have rounded corners on Windows 7 if aero is turned off. If you don't care about that, then the easiest solution is to set defaultWindow.transparent to false, defaultWindow.backgroundColor to the same as defaultStyleContainer.backgroundColor, and defaultWindow.borderRadius to 0. If you want to keep the rounded corners, you can have logic to check the value of "Composition" in the registry key \HKCU\Software\Microsoft\Windows\DWM. If it's 0x1, then you can do the transparency. Otherwise, you should show the square corners and not do transparency. |
@kevinkir I just tried the above on Windows 7 (set defaultWindow.transparent to false, etc.) and I can get a notification window to display but none of the appIcon, title, or text are displaying. Any suggestions? Thanks! |
@mz3io I had a Same problem. I think the reason is path of 'preload.js' in defaultWindow.
If I use
in
are gone. 'path' in this source is electron-notify's path, so I can't just write this code in my config. |
@dooyou21, my hacky workaround to this was to just to route the path through node_modules:
Notes:
|
Hi,
I cannot get the notification to show up on windows 7. Can someone please advise?
Thank you
The text was updated successfully, but these errors were encountered: