|
@@ -23,9 +23,8 @@ While code and user experience across operating systems are similar, there
|
|
|
are subtle differences.
|
|
|
|
|
|
## Windows
|
|
|
-
|
|
|
* On Windows 10, a shortcut to your app with an [Application User
|
|
|
-Model ID][app-user-model-id] must be installed to the Start Menu.
|
|
|
+Model ID][app-user-model-id] must be installed to the Start Menu. This can be overkill during development, so adding `node_modules\electron\dist\electron.exe` to your Start Menu also does the trick. Navigate to the file in Explorer, right-click and 'Pin to Start Menu'. You will then need to add the line `app.setAppUserModelId(process.execPath)` to your main process to see notifications.
|
|
|
* On Windows 8.1 and Windows 8, a shortcut to your app with an [Application User
|
|
|
Model ID][app-user-model-id] must be installed to the Start screen. Note,
|
|
|
however, that it does not need to be pinned to the Start screen.
|
|
@@ -97,4 +96,4 @@ GNOME, KDE.
|
|
|
[notification-spec]: https://developer.gnome.org/notification-spec/
|
|
|
[app-user-model-id]: https://msdn.microsoft.com/en-us/library/windows/desktop/dd378459(v=vs.85).aspx
|
|
|
[set-app-user-model-id]: ../api/app.md#appsetappusermodelidid-windows
|
|
|
-[squirrel-events]: https://github.com/electron/windows-installer/blob/master/README.md#handling-squirrel-events
|
|
|
+[squirrel-events]: https://github.com/electron/windows-installer/blob/master/README.md#handling-squirrel-events
|