mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Merge pull request #164879 from krehel/playdate-simulator-uninstall-fix-permission-errors
playdate-simulator: update `uninstall_preflight`
This commit is contained in:
@@ -19,7 +19,7 @@ cask "playdate-simulator" do
|
||||
|
||||
uninstall_preflight do
|
||||
Pathname("/usr/local/bin").glob("arm-*").each do |exec|
|
||||
exec.unlink if exec.exist? && exec.readlink.to_s.include?("playdate")
|
||||
Utils.gain_permissions_remove(exec) if exec.exist? && exec.readlink.to_s.include?("playdate")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user