mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Add app user-model IDs to Sandbox shortcut and use in server-console
This commit is contained in:
parent
65bb4c218e
commit
ef4d09c5e2
2 changed files with 9 additions and 2 deletions
|
@ -1174,8 +1174,14 @@ Section "-Core installation"
|
|||
!insertmacro MUI_STARTMENU_WRITE_END
|
||||
|
||||
!if @PRODUCTION_BUILD@ == 1
|
||||
${If} @SERVER_COMPONENT_CONDITIONAL@
|
||||
ApplicationID::Set "$SMPROGRAMS\$STARTMENU_FOLDER\@CONSOLE_SHORTCUT_NAME@.lnk" "com.highfidelity.sandbox"
|
||||
${EndIf}
|
||||
ApplicationID::Set "$SMPROGRAMS\$STARTMENU_FOLDER\@INTERFACE_SHORTCUT_NAME@.lnk" "com.highfidelity.interface"
|
||||
!else
|
||||
${If} @SERVER_COMPONENT_CONDITIONAL@
|
||||
ApplicationID::Set "$SMPROGRAMS\$STARTMENU_FOLDER\@CONSOLE_SHORTCUT_NAME@.lnk" "com.highfidelity.sandbox-dev"
|
||||
${EndIf}
|
||||
ApplicationID::Set "$SMPROGRAMS\$STARTMENU_FOLDER\@INTERFACE_SHORTCUT_NAME@.lnk" "com.highfidelity.interface-dev"
|
||||
!endif
|
||||
|
||||
|
|
|
@ -44,6 +44,8 @@ const LOG_FILE_REGEX = /(domain-server|ac-monitor|ac)-.*-std(out|err).txt/;
|
|||
|
||||
const HOME_CONTENT_URL = "http://cdn.highfidelity.com/content-sets/home-tutorial-RC40.tar.gz";
|
||||
|
||||
const APP_USER_MODEL_ID = 'com.highfidelity.sandbox'; // For Windows jump list, etc.
|
||||
|
||||
function getBuildInfo() {
|
||||
var buildInfoPath = null;
|
||||
|
||||
|
@ -867,7 +869,6 @@ 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;
|
||||
|
@ -879,7 +880,7 @@ function onContentLoaded() {
|
|||
title: 'An update is available!',
|
||||
message: 'High Fidelity version ' + latestVersion + ' is available',
|
||||
wait: true,
|
||||
appID: appUserModelId,
|
||||
appID: APP_USER_MODEL_ID,
|
||||
url: url
|
||||
});
|
||||
hasShownUpdateNotification = true;
|
||||
|
|
Loading…
Reference in a new issue