mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Distinguish appIDs for production & nonproduction
This commit is contained in:
parent
f0570557b2
commit
65bb4c218e
2 changed files with 7 additions and 2 deletions
|
@ -1173,7 +1173,11 @@ Section "-Core installation"
|
|||
|
||||
!insertmacro MUI_STARTMENU_WRITE_END
|
||||
|
||||
ApplicationID::Set "$SMPROGRAMS\$STARTMENU_FOLDER\@INTERFACE_SHORTCUT_NAME@.lnk" "com.highfidelity.interface"
|
||||
!if @PRODUCTION_BUILD@ == 1
|
||||
ApplicationID::Set "$SMPROGRAMS\$STARTMENU_FOLDER\@INTERFACE_SHORTCUT_NAME@.lnk" "com.highfidelity.interface"
|
||||
!else
|
||||
ApplicationID::Set "$SMPROGRAMS\$STARTMENU_FOLDER\@INTERFACE_SHORTCUT_NAME@.lnk" "com.highfidelity.interface-dev"
|
||||
!endif
|
||||
|
||||
@CPACK_NSIS_EXTRA_INSTALL_COMMANDS@
|
||||
|
||||
|
|
|
@ -867,6 +867,7 @@ function onContentLoaded() {
|
|||
} catch (e) {
|
||||
}
|
||||
|
||||
var appUserModelId = 'com.highfidelity.interface'; // For Windows jump list, etc.
|
||||
if (currentVersion !== null) {
|
||||
const CHECK_FOR_UPDATES_INTERVAL_SECONDS = 60 * 30;
|
||||
var hasShownUpdateNotification = false;
|
||||
|
@ -878,7 +879,7 @@ function onContentLoaded() {
|
|||
title: 'An update is available!',
|
||||
message: 'High Fidelity version ' + latestVersion + ' is available',
|
||||
wait: true,
|
||||
appID: 'com.highfidelity.interface',
|
||||
appID: appUserModelId,
|
||||
url: url
|
||||
});
|
||||
hasShownUpdateNotification = true;
|
||||
|
|
Loading…
Reference in a new issue