You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

32 lines
1.3 KiB

cask 'sourcetree-alpha' do
version '2.5a2'
sha256 'd9a0988b4520b9189e76c2ed65f0de205b4ba9833ae0ad666ed6f1b0e07bb602'
# 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/SparkleAppcastAlpha.xml',
checkpoint: 'ee7e51cb628e82774943aed1fc73d144def700708718e1a3420422f295dfdad6'
name 'Atlassian SourceTree'
homepage 'https://www.sourcetreeapp.com/'
auto_updates true
depends_on macos: '>= 10.10'
app 'SourceTree Alpha.app'
binary "#{appdir}/SourceTree Alpha.app/Contents/Resources/stree"
postflight do
suppress_move_to_applications
end
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