forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoda.rb
23 lines (19 loc) · 994 Bytes
/
coda.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cask 'coda' do
version '2.7.4'
sha256 'b652fb1172d17fcd403af94a8efdc12aa30196fc411300fae2ec98a33563cd33'
url "https://download.panic.com/coda/Coda%20#{version}.zip"
appcast 'https://www.panic.com/updates/update.php?appName=Coda%202&appVersion=1'
name 'Panic Coda'
homepage 'https://panic.com/coda/'
auto_updates true
depends_on macos: '>= :high_sierra'
app "Coda #{version.major}.app"
zap trash: [
"~/Library/Application Support/Coda #{version.major}",
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.panic.coda2.sfl*',
"~/Library/Caches/com.apple.helpd/Generated/com.panic.Coda#{version.major}.help*",
"~/Library/Caches/com.panic.Coda#{version.major}",
"~/Library/Preferences/com.panic.Coda#{version.major}.plist",
"~/Library/Saved Application State/com.panic.Coda#{version.major}.savedState",
]
end