|
|
@ -31,8 +31,8 @@ Component.prototype.createOperations = function()
|
|
|
|
"iconPath=" + targetDirectory + "/favicon.ico",
|
|
|
|
"iconPath=" + targetDirectory + "/favicon.ico",
|
|
|
|
"iconId=0", "description=Open GPT4All");
|
|
|
|
"iconId=0", "description=Open GPT4All");
|
|
|
|
} else if (systemInfo.productType === "osx") {
|
|
|
|
} else if (systemInfo.productType === "osx") {
|
|
|
|
var gpt4allAppPath = targetDirectory + "/gpt4all/gpt4all.app";
|
|
|
|
var gpt4allAppPath = targetDirectory + "/bin/gpt4all/gpt4all.app";
|
|
|
|
var symlinkPath = targetDirectory + "/GPT4All.app";
|
|
|
|
var symlinkPath = targetDirectory + "/../GPT4All.app";
|
|
|
|
// Remove the symlink if it already exists
|
|
|
|
// Remove the symlink if it already exists
|
|
|
|
component.addOperation("Execute", "rm", "-f", symlinkPath);
|
|
|
|
component.addOperation("Execute", "rm", "-f", symlinkPath);
|
|
|
|
// Create the symlink
|
|
|
|
// Create the symlink
|
|
|
|