Merge pull request #200541 from Homebrew/bump-roam-147.0.0-beta001
[Homebrew/homebrew-cask.git] / Casks / a / airtable.rb
blob316a427f55eeb13e63c9cba7a586d498c7b346f6
1 cask "airtable" do
2   version "1.6.6"
3   sha256 "cc677bb77a76437cf423cb49675bdbb6e54840f1c29ea80d3910f2ed41ceb627"
5   url "https://static.airtable.com/download/macos/Airtable-#{version}.dmg"
6   name "Airtable"
7   desc "Spreadsheet-database hybrid cloud collaboration"
8   homepage "https://airtable.com/"
10   livecheck do
11     url "https://airtable.com/desktopAppLatestVersion?version=0.0.0&platform=darwin"
12     strategy :json do |json|
13       json["version"]
14     end
15   end
17   auto_updates true
18   depends_on macos: ">= :high_sierra"
20   app "Airtable.app"
22   uninstall quit:   "com.FormaGrid.Airtable",
23             delete: "/Library/Logs/DiagnosticReports/Airtable*.*_resource.diag"
25   zap trash: [
26     "~/Library/Application Support/Airtable",
27     "~/Library/Caches/com.FormaGrid.Airtable*",
28     "~/Library/Cookies/com.FormaGrid.Airtable.binarycookies",
29     "~/Library/HTTPStorages/com.FormaGrid.Airtable*",
30     "~/Library/Logs/Airtable",
31     "~/Library/Preferences/ByHost/com.FormaGrid.Airtable.ShipIt.*.plist",
32     "~/Library/Preferences/com.FormaGrid.Airtable*.plist",
33     "~/Library/Saved Application State/com.FormaGrid.Airtable.savedState",
34   ]
35 end