Change the filename.

This commit is contained in:
Adam Treat 2023-04-13 12:01:31 -04:00
parent e661d7e0c4
commit f9d209ae0e

View File

@ -15,19 +15,19 @@ Component.prototype.createOperations = function()
installer.setValue("UserProfile", userProfile);
component.addOperation("CreateShortcut",
"@TargetDir@/bin/chat.exe",
"@UserProfile@/Desktop/chat.lnk",
"@UserProfile@/Desktop/GPT4All.lnk",
"workingDirectory=@TargetDir@/bin",
"iconPath=@TargetDir@/favicon.ico",
"iconId=2", "description=Open GPT4All Chat");
"iconId=0", "description=Open GPT4All Chat");
} catch (e) {
print("ERROR: creating desktop shortcut" + e);
}
component.addOperation("CreateShortcut",
"@TargetDir@/bin/chat.exe",
"@StartMenuDir@/chat.lnk",
"@StartMenuDir@/GPT4All.lnk",
"workingDirectory=@TargetDir@/bin",
"iconPath=@TargetDir@/favicon.ico",
"iconId=2", "description=Open GPT4All Chat");
"iconId=0", "description=Open GPT4All Chat");
} else if (systemInfo.productType === "osx") {
} else { // linux
component.addOperation("CreateDesktopEntry",