fig: Remove broken zap script (#143867)

The script is part of the app but runs after the zap, not before, so it no longer exists:

==> Running uninstall script /Applications/Fig.app/Contents/MacOS/fig-darwin-universal
Error: uninstall script /Applications/Fig.app/Contents/MacOS/fig-darwin-universal does not exist.

Zapping implies uninstalling, which happens first, so the script isn't necessary anyway.
This commit is contained in:
Danny Lin
2023-03-28 08:11:27 +11:00
committed by GitHub
parent f05b9d0c5f
commit 17d3aae66d
+11 -15
View File
@@ -34,21 +34,17 @@ cask "fig" do
"io.fig.cursor",
]
zap script: {
executable: "#{appdir}/Fig.app/Contents/MacOS/fig-darwin-universal",
args: ["_", "brew-uninstall", "--zap"],
},
trash: [
"~/.fig",
"~/.fig.dotfiles.bak",
"~/Library/Application Support/com.mschrage.fig",
"~/Library/Application Support/fig",
"~/Library/Caches/com.mschrage.fig",
"~/Library/Caches/fig",
"~/Library/HTTPStorages/com.mschrage.fig",
"~/Library/Preferences/com.mschrage.fig.*",
"~/Library/WebKit/com.mschrage.fig",
]
zap trash: [
"~/.fig",
"~/.fig.dotfiles.bak",
"~/Library/Application Support/com.mschrage.fig",
"~/Library/Application Support/fig",
"~/Library/Caches/com.mschrage.fig",
"~/Library/Caches/fig",
"~/Library/HTTPStorages/com.mschrage.fig",
"~/Library/Preferences/com.mschrage.fig.*",
"~/Library/WebKit/com.mschrage.fig",
]
caveats <<~EOS
Please launch the Fig application to finish setup...