Change the filename.

This commit is contained in:
Adam Treat 2023-04-13 12:01:31 -04:00
parent 145ecba9e7
commit 87cbe7f6f0

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",