homebrew-cask/Casks/iterm2.rb

28 lines
1.1 KiB
Ruby

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