cask 'iterm2-nightly' do # note: "2" is not a version number, but an intrinsic part of the product name version :latest sha256 :no_check url 'https://www.iterm2.com/nightly/latest' name 'iTerm2' homepage 'https://www.iterm2.com/' auto_updates true depends_on macos: '>= 10.10' app 'iTerm.app' zap delete: [ '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.googlecode.iterm2.sfl', '~/Library/Application Support/iTerm', '~/Library/Application Support/iTerm2', '~/Library/Caches/com.googlecode.iterm2', '~/Library/Preferences/com.googlecode.iterm2.plist', '~/Library/Saved Application State/com.googlecode.iterm2.savedState', ] end