From 182c4c343bbd59ee2363e19a1795e6cf0687ad77 Mon Sep 17 00:00:00 2001 From: Justin Krehel <39449589+krehel@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:01:12 -0500 Subject: [PATCH] playdate-simulator: update `uninstall_preflight` --- Casks/p/playdate-simulator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/p/playdate-simulator.rb b/Casks/p/playdate-simulator.rb index 94d57a48b0..f159d7b15b 100644 --- a/Casks/p/playdate-simulator.rb +++ b/Casks/p/playdate-simulator.rb @@ -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