forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathairtable.rb
31 lines (25 loc) · 932 Bytes
/
airtable.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
cask "airtable" do
version "1.4.4"
sha256 "0acee1683f4b8a444661803bea61d305d4c0f0f71668fc730ff4e2d33c296795"
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/mac"
strategy :page_match
regex(%r{href=.*?/Airtable-(\d+(?:\.\d+)*)\.dmg}i)
end
auto_updates true
app "Airtable.app"
uninstall quit: "com.FormaGrid.Airtable"
zap trash: [
"/Library/Logs/DiagnosticReports/Airtable*.*_resource.diag",
"~/Library/Logs/Airtable",
"~/Library/Caches/com.FormaGrid.Airtable*",
"~/Library/Cookies/com.FormaGrid.Airtable.binarycookies",
"~/Library/Application Support/Airtable",
"~/Library/Preferences/com.FormaGrid.Airtable*.plist",
"~/Library/Preferences/ByHost/com.FormaGrid.Airtable.ShipIt.*.plist",
]
end