mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 03:48:38 +02: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
|
!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@
|
@CPACK_NSIS_EXTRA_INSTALL_COMMANDS@
|
||||||
|
|
||||||
|
|
|
@ -867,6 +867,7 @@ function onContentLoaded() {
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var appUserModelId = 'com.highfidelity.interface'; // For Windows jump list, etc.
|
||||||
if (currentVersion !== null) {
|
if (currentVersion !== null) {
|
||||||
const CHECK_FOR_UPDATES_INTERVAL_SECONDS = 60 * 30;
|
const CHECK_FOR_UPDATES_INTERVAL_SECONDS = 60 * 30;
|
||||||
var hasShownUpdateNotification = false;
|
var hasShownUpdateNotification = false;
|
||||||
|
@ -878,7 +879,7 @@ function onContentLoaded() {
|
||||||
title: 'An update is available!',
|
title: 'An update is available!',
|
||||||
message: 'High Fidelity version ' + latestVersion + ' is available',
|
message: 'High Fidelity version ' + latestVersion + ' is available',
|
||||||
wait: true,
|
wait: true,
|
||||||
appID: 'com.highfidelity.interface',
|
appID: appUserModelId,
|
||||||
url: url
|
url: url
|
||||||
});
|
});
|
||||||
hasShownUpdateNotification = true;
|
hasShownUpdateNotification = true;
|
||||||
|
|
Loading…
Reference in a new issue