-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
checkForUpdatesAndNotify updates but does not notify on Windows 10 #2700
Comments
Could be related to electron/electron#10864 |
Me neither, try all solutions in electron/electron#10864 but doesn't work, seems to be windows problem. |
@forman I get it working again by setting Notification on import, setting model ID and default protocol: import { app, Notification } from "electron"
app.setAppUserModelId("com.xxxx.xxxx");
app.setAsDefaultProtocolClient('xxxxx'); |
@marceloavf Great, thanks! However, even after reading the Where does the ID passed to Also, could you given me a hint what protocol to pass to Thanks again! |
@forman According to Microsoft, AppUserModelId is defined with this base form Seems that if two apps set the same I used to write it like this: |
@marceloavf Thanks, again. I will try it now. |
Important to note here, that just calling |
|
electron-builder: 19.56.0
electron-updater: 2.20.1
electron: 1.8.2
node: 8.9.4
npm: 5.6.0
Target: Windows 10
First of all, thanks so much for this great tool! It is helping us a lot.
My problem is that
autoUpdater.checkForUpdatesAndNotify()
updates perfectly but does not notify on Windows 10. On Mac I get the expected toast when the update is available.The project is cate-desktop which uses a two-package.json structure.
The text was updated successfully, but these errors were encountered: