cask 'sourcetree-beta' do version '2.6b3' sha256 'e2c3d41a04d5345eb81bb8025502ba8ebc082ed65215c27c67f6fefc0815f2ea' # atlassian.com was verified as official when first introduced to the cask url "https://downloads.atlassian.com/software/sourcetree/SourceTree_#{version}.zip" appcast 'https://www.sourcetreeapp.com/update/SparkleAppcastBeta.xml', checkpoint: '37b43d48838c6f4feb30c918d85b215d956e174e4a74d248949e81d24dd0360f' name 'Atlassian SourceTree' homepage 'https://www.sourcetreeapp.com/' auto_updates true depends_on macos: '>= 10.10' app 'SourceTree-Beta.app' binary "#{appdir}/SourceTree-Beta.app/Contents/Resources/stree" uninstall launchctl: 'com.atlassian.SourceTreePrivilegedHelper2', quit: 'com.torusknot.SourceTreeNotMAS' zap delete: [ '~/Library/Application Support/SourceTree', '~/Library/Caches/com.torusknot.SourceTreeNotMAS', '~/Library/Preferences/com.torusknot.SourceTreeNotMAS.plist', '~/Library/Preferences/com.torusknot.SourceTreeNotMAS.LSSharedFileList.plist', '~/Library/Saved Application State/com.torusknot.SourceTreeNotMAS.savedState', ] end