Try to fix uninstall of symlink.

This commit is contained in:
Adam Treat 2023-04-28 22:28:11 -04:00
parent 9979c78c6c
commit 23f3ba5b78

View File

@ -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()) {