homebrew-cask/Casks/airtable.rb

35 lines
1.1 KiB
Ruby

cask "airtable" do
version "1.5.3"
sha256 "a5be587891b0f8311cf90f98522f5da792f779f406e492eb4298e45d55411143"
url "https://static.airtable.com/download/macos/Airtable-#{version}.dmg"
name "Airtable"
desc "Spreadsheet-database hybrid cloud collaboration"
homepage "https://airtable.com/"
livecheck do
url "https://airtable.com/desktopAppLatestVersion?version=0.0.0&platform=darwin"
strategy :json do |json|
json["version"]
end
end
auto_updates true
app "Airtable.app"
uninstall quit: "com.FormaGrid.Airtable",
delete: "/Library/Logs/DiagnosticReports/Airtable*.*_resource.diag"
zap trash: [
"~/Library/Application Support/Airtable",
"~/Library/Caches/com.FormaGrid.Airtable*",
"~/Library/Cookies/com.FormaGrid.Airtable.binarycookies",
"~/Library/HTTPStorages/com.FormaGrid.Airtable*",
"~/Library/Logs/Airtable",
"~/Library/Preferences/ByHost/com.FormaGrid.Airtable.ShipIt.*.plist",
"~/Library/Preferences/com.FormaGrid.Airtable*.plist",
"~/Library/Saved Application State/com.FormaGrid.Airtable.savedState",
]
end