Use the .ico for desktop windows.

This commit is contained in:
Adam Treat 2023-04-13 06:55:00 -04:00
parent 2cef816b3c
commit c41c8e7c9b

View File

@ -17,7 +17,7 @@ Component.prototype.createOperations = function()
"@TargetDir@/bin/chat.exe",
"@UserProfile@/Desktop/chat.lnk",
"workingDirectory=@TargetDir@/bin",
"iconPath=@TargetDir@/logo-48.png",
"iconPath=@TargetDir@/favicon.ico",
"iconId=2", "description=Open GPT4All Chat");
} catch (e) {
print("ERROR: creating desktop shortcut" + e);
@ -26,7 +26,7 @@ Component.prototype.createOperations = function()
"@TargetDir@/bin/chat.exe",
"@StartMenuDir@/chat.lnk",
"workingDirectory=@TargetDir@/bin",
"iconPath=@TargetDir@/logo-48.png",
"iconPath=@TargetDir@/favicon.ico",
"iconId=2", "description=Open GPT4All Chat");
} else if (systemInfo.productType === "osx") {
} else { // linux