25 lines
965 B
Ruby
25 lines
965 B
Ruby
cask 'iterm2' do
|
|
# note: "2" is not a version number, but an intrinsic part of the product name
|
|
version '3.1.6'
|
|
sha256 '4acf012b48f99edb49bb4eb9e45a939fc88f69e7c43a2a36ea33556bc46b0087'
|
|
|
|
url "https://iterm2.com/downloads/stable/iTerm2-#{version.dots_to_underscores}.zip"
|
|
appcast 'https://iterm2.com/appcasts/final.xml'
|
|
name 'iTerm2'
|
|
homepage 'https://www.iterm2.com/'
|
|
|
|
auto_updates true
|
|
depends_on macos: '>= :yosemite'
|
|
|
|
app 'iTerm.app'
|
|
|
|
zap trash: [
|
|
'~/Library/Application Support/iTerm',
|
|
'~/Library/Application Support/iTerm2',
|
|
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.googlecode.iterm2.sfl*',
|
|
'~/Library/Caches/com.googlecode.iterm2',
|
|
'~/Library/Preferences/com.googlecode.iterm2.plist',
|
|
'~/Library/Saved Application State/com.googlecode.iterm2.savedState',
|
|
]
|
|
end
|