mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-24 08:27:58 -05:00
idk but this works fine for me ig the trys are important
This commit is contained in:
parent
4cd08e1ca9
commit
09ebcf9c85
1 changed files with 9 additions and 2 deletions
|
@ -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 & "\""
|
||||
|
|
Loading…
Reference in a new issue