idk but this works fine for me ig the trys are important

This commit is contained in:
altalk23 2024-01-24 17:34:49 +03:00
parent 4cd08e1ca9
commit 09ebcf9c85

View file

@ -90,7 +90,11 @@ if installerAnswer is "Install Geode" then
ExitWithMessage ("Moving resources failed: " & (gdPath & newResourcesPath))
end try
do shell script "sudo xattr -dr com.apple.quarantine \"" & gdPath & "\""
try
do shell script "sudo xattr -dr com.apple.quarantine \"" & gdPath & "\""
on error
end try
else if installerAnswer is "Uninstall Geode" then
@ -116,6 +120,9 @@ else if installerAnswer is "Uninstall Geode" then
end if
try
do shell script "sudo rm -rf \"" & binPath & "\""
on error
end try
do shell script "sudo rm -rf \"" & binPath & "\""