33 lines
840 B
Ruby
33 lines
840 B
Ruby
cask "fig" do
|
|
version "1.0.55,365"
|
|
sha256 "e49ab143829349313b45cfa0f7e8d2a4ec730c5b789edd092695b056323b7554"
|
|
|
|
url "https://versions.withfig.com/fig%20#{version.csv.second}.dmg",
|
|
verified: "versions.withfig.com/"
|
|
name "fig"
|
|
desc "Reimagine your terminal"
|
|
homepage "https://fig.io/"
|
|
|
|
livecheck do
|
|
url "https://versions.withfig.com/appcast.xml"
|
|
strategy :sparkle
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :high_sierra"
|
|
|
|
app "Fig.app"
|
|
|
|
uninstall script: "#{appdir}/Fig.app/Contents/Resources/config/tools/uninstall-script.sh"
|
|
|
|
zap trash: [
|
|
"~/.fig",
|
|
"~/.fig.dotfiles.bak",
|
|
"~/Library/Application Support/com.mschrage.fig",
|
|
"~/Library/Caches/com.mschrage.fig",
|
|
"~/Library/Caches/fig",
|
|
"~/Library/Preferences/com.mschrage.fig.*",
|
|
"~/Library/WebKit/com.mschrage.fig",
|
|
]
|
|
end
|