mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-05 21:12:42 +02:00
changes to electron app for Sandbox rename
This commit is contained in:
parent
2ea0309955
commit
bbbfa7227f
3 changed files with 10 additions and 9 deletions
1
server-console/.gitignore
vendored
1
server-console/.gitignore
vendored
|
@ -1,5 +1,6 @@
|
||||||
Server\ Console-*/
|
Server\ Console-*/
|
||||||
server-console-*/
|
server-console-*/
|
||||||
|
Sandbox-*/
|
||||||
electron-packager/
|
electron-packager/
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
logs/
|
logs/
|
||||||
|
|
|
@ -23,12 +23,12 @@ var options = {
|
||||||
arch: "x64",
|
arch: "x64",
|
||||||
platform: platform,
|
platform: platform,
|
||||||
icon: "resources/" + iconName,
|
icon: "resources/" + iconName,
|
||||||
ignore: "logs|(S|s)erver(\\s|-)(C|c)onsole-\\S+|electron-packager|README.md|CMakeLists.txt|packager.js|.gitignore"
|
ignore: "logs|(S|s)andbox-\\S+|electron-packager|README.md|CMakeLists.txt|packager.js|.gitignore"
|
||||||
}
|
}
|
||||||
|
|
||||||
const EXEC_NAME = "server-console";
|
const EXEC_NAME = "server-console";
|
||||||
const SHORT_NAME = "Server Console";
|
const SHORT_NAME = "Sandbox";
|
||||||
const FULL_NAME = "High Fidelity Server Console";
|
const FULL_NAME = "High Fidelity Sandbox";
|
||||||
|
|
||||||
// setup per OS options
|
// setup per OS options
|
||||||
if (osType == "Darwin") {
|
if (osType == "Darwin") {
|
||||||
|
|
|
@ -111,8 +111,8 @@ function shutdown() {
|
||||||
dialog.showMessageBox({
|
dialog.showMessageBox({
|
||||||
type: 'question',
|
type: 'question',
|
||||||
buttons: ['Yes', 'No'],
|
buttons: ['Yes', 'No'],
|
||||||
title: 'Stopping Server Console',
|
title: 'Stopping High Fidelity Sandbox',
|
||||||
message: 'Quitting will stop your Server Console and your Home domain will no longer be running.\nDo you wish to continue?'
|
message: 'Quitting will stop your Sandbox and your Home domain will no longer be running.\nDo you wish to continue?'
|
||||||
}, shutdownCallback);
|
}, shutdownCallback);
|
||||||
} else {
|
} else {
|
||||||
shutdownCallback(0);
|
shutdownCallback(0);
|
||||||
|
@ -212,7 +212,7 @@ var shouldQuit = app.makeSingleInstance(function(commandLine, workingDirectory)
|
||||||
});
|
});
|
||||||
|
|
||||||
if (shouldQuit) {
|
if (shouldQuit) {
|
||||||
console.warn("Another instance of the Server Console is already running - this instance will quit.");
|
console.warn("Another instance of the Sandbox is already running - this instance will quit.");
|
||||||
app.quit();
|
app.quit();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -237,7 +237,7 @@ function binaryMissingMessage(displayName, executableName, required) {
|
||||||
var message = "The " + displayName + " executable was not found.\n";
|
var message = "The " + displayName + " executable was not found.\n";
|
||||||
|
|
||||||
if (required) {
|
if (required) {
|
||||||
message += "It is required for the Server Console to run.\n\n";
|
message += "It is required for the High Fidelity Sandbox to run.\n\n";
|
||||||
} else {
|
} else {
|
||||||
message += "\n";
|
message += "\n";
|
||||||
}
|
}
|
||||||
|
@ -250,7 +250,7 @@ function binaryMissingMessage(displayName, executableName, required) {
|
||||||
message += paths.join("\n");
|
message += paths.join("\n");
|
||||||
} else {
|
} else {
|
||||||
message += "It is expected to be found beside this executable.\n";
|
message += "It is expected to be found beside this executable.\n";
|
||||||
message += "You may need to re-install the Server Console.";
|
message += "You may need to re-install the High Fidelity Sandbox.";
|
||||||
}
|
}
|
||||||
|
|
||||||
return message;
|
return message;
|
||||||
|
@ -770,7 +770,7 @@ app.on('ready', function() {
|
||||||
|
|
||||||
// Create tray icon
|
// Create tray icon
|
||||||
tray = new Tray(trayIcons[ProcessGroupStates.STOPPED]);
|
tray = new Tray(trayIcons[ProcessGroupStates.STOPPED]);
|
||||||
tray.setToolTip('High Fidelity Server Console');
|
tray.setToolTip('High Fidelity Sandbox');
|
||||||
|
|
||||||
tray.on('click', function() {
|
tray.on('click', function() {
|
||||||
tray.popUpContextMenu(tray.menu);
|
tray.popUpContextMenu(tray.menu);
|
||||||
|
|
Loading…
Reference in a new issue