add OriginalFilename for server-console

This commit is contained in:
Stephen Birarda 2016-01-04 16:20:02 -08:00
parent cd331bbb0f
commit ecbac3d8c7

View file

@ -18,12 +18,13 @@ var options = {
platform: platform platform: platform
} }
const EXEC_NAME = "server-console";
const SHORT_NAME = "Server Console"; const SHORT_NAME = "Server Console";
const FULL_NAME = "High Fidelity Server Console"; const FULL_NAME = "High Fidelity Server Console";
// setup per OS options // setup per OS options
if (osType == "Darwin") { if (osType == "Darwin") {
options["name"] = "Server Console" options["name"] = SHORT_NAME
options["icon"] = "resources/console.icns" options["icon"] = "resources/console.icns"
} else if (osType == "Windows_NT") { } else if (osType == "Windows_NT") {
options["name"] = "server-console" options["name"] = "server-console"
@ -31,7 +32,8 @@ if (osType == "Darwin") {
options["version-string"] = { options["version-string"] = {
CompanyName: "High Fidelity, Inc.", CompanyName: "High Fidelity, Inc.",
FileDescription: SHORT_NAME, FileDescription: SHORT_NAME,
ProductName: FULL_NAME ProductName: FULL_NAME,
OriginalFilename: EXEC_NAME + ".exe"
} }
} else if (osType == "Linux") { } else if (osType == "Linux") {
options["name"] = "server-console" options["name"] = "server-console"