cask 'iterm2-beta' do # note: "2" is not a version number, but an intrinsic part of the product name version '3.1.3.beta.1' sha256 '406073f0cb1a53b48cdffe9fd543942436c69c609ee917c4c1b76c34bf183edb' url "https://iterm2.com/downloads/beta/iTerm2-#{version.dots_to_underscores}.zip" appcast 'https://iterm2.com/appcasts/testing3.xml', checkpoint: '36274dae2a549c5b0403c1e80561263f0630f80d61802c6da128203c1c6fd9c7' 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