mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Try to fix uninstall of symlink.
This commit is contained in:
parent
9979c78c6c
commit
23f3ba5b78
@ -57,7 +57,8 @@ Component.prototype.createOperationsForArchive = function(archive)
|
||||
component.createOperationsForArchive(archive);
|
||||
|
||||
if (systemInfo.productType === "osx") {
|
||||
var symlinkPath = targetDirectory + "/../GPT4All.app";
|
||||
var uninstallTargetDirectory = installer.value("TargetDir");
|
||||
var symlinkPath = uninstallTargetDirectory + "/../GPT4All.app";
|
||||
|
||||
// Remove the symlink during uninstallation
|
||||
if (installer.isUninstaller()) {
|
||||
|
Loading…
Reference in New Issue
Block a user