From f0570557b24b67aba4906da02104e76ed60fcefe Mon Sep 17 00:00:00 2001 From: Simon Walton Date: Thu, 24 May 2018 10:56:17 -0700 Subject: [PATCH] Assign a Win 'appUserModelId' and use it for toaster popups (notifications) --- INSTALL.md | 1 + cmake/templates/NSIS.template.in | 2 ++ server-console/src/main.js | 1 + 3 files changed, 4 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 90e8712b19..00be5f2f8f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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. diff --git a/cmake/templates/NSIS.template.in b/cmake/templates/NSIS.template.in index fc9b9ab03d..ff80c21588 100644 --- a/cmake/templates/NSIS.template.in +++ b/cmake/templates/NSIS.template.in @@ -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 diff --git a/server-console/src/main.js b/server-console/src/main.js index b08db6222f..ab35529b48 100644 --- a/server-console/src/main.js +++ b/server-console/src/main.js @@ -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;