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