26 lines
1.0 KiB
Ruby
26 lines
1.0 KiB
Ruby
cask 'sourcetree' do
|
|
version '2.7.1d'
|
|
sha256 '1f5ec3ace624b3f20d875793dd7303fe94f46d16dda62284238a4d7a32bcd74f'
|
|
|
|
# atlassian.com/software/sourcetree was verified as official when first introduced to the cask
|
|
url "https://downloads.atlassian.com/software/sourcetree/Sourcetree_#{version}.zip"
|
|
name 'Atlassian SourceTree'
|
|
homepage 'https://www.sourcetreeapp.com/'
|
|
|
|
auto_updates true
|
|
|
|
app 'Sourcetree.app'
|
|
binary "#{appdir}/Sourcetree.app/Contents/Resources/stree"
|
|
|
|
uninstall launchctl: 'com.atlassian.SourceTreePrivilegedHelper2',
|
|
quit: 'com.torusknot.SourceTreeNotMAS'
|
|
|
|
zap trash: [
|
|
'~/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
|