Assign a Win 'appUserModelId' and use it for toaster popups (notifications)

This commit is contained in:
Simon Walton 2018-05-24 10:56:17 -07:00
parent 52a05680e7
commit f0570557b2
3 changed files with 4 additions and 0 deletions

View file

@ -21,6 +21,7 @@ To produce an executable installer on Windows, the following are required:
- [NSISpcre Plug-in for Nullsoft](http://nsis.sourceforge.net/NSISpcre_plug-in) - 1.0
- [nsisSlideshow Plug-in for Nullsoft](http://nsis.sourceforge.net/NsisSlideshow_plug-in) - 1.7
- [Nsisunz plug-in for Nullsoft](http://nsis.sourceforge.net/Nsisunz_plug-in)
- [ApplicationID plug-in for Nullsoft](http://nsis.sourceforge.net/ApplicationID_plug-in) - 1.0
Run the `package` target to create an executable installer using the Nullsoft Scriptable Install System.

View file

@ -1173,6 +1173,8 @@ Section "-Core installation"
!insertmacro MUI_STARTMENU_WRITE_END
ApplicationID::Set "$SMPROGRAMS\$STARTMENU_FOLDER\@INTERFACE_SHORTCUT_NAME@.lnk" "com.highfidelity.interface"
@CPACK_NSIS_EXTRA_INSTALL_COMMANDS@
; see if we have a campaign that we might need to grab special content for

View file

@ -878,6 +878,7 @@ function onContentLoaded() {
title: 'An update is available!',
message: 'High Fidelity version ' + latestVersion + ' is available',
wait: true,
appID: 'com.highfidelity.interface',
url: url
});
hasShownUpdateNotification = true;