30 lines
1.4 KiB
Ruby
30 lines
1.4 KiB
Ruby
cask 'github-desktop' do
|
|
version '0.5.9-d08be790'
|
|
sha256 '335c28e70f52fc53048a6dc6b12abf89ee7fd2b55a49bd90b982537ae3cdcb1e'
|
|
|
|
# githubusercontent.com was verified as official when first introduced to the cask
|
|
url "https://desktop.githubusercontent.com/releases/#{version}/GitHubDesktop.zip"
|
|
appcast 'https://github.com/desktop/desktop/releases.atom',
|
|
checkpoint: 'acf2ad7c22e097177a3a1f381ba26301d0817d124c1df73af9df70d053587cc4'
|
|
name 'GitHub Desktop'
|
|
homepage 'https://desktop.github.com/'
|
|
|
|
auto_updates true
|
|
|
|
app 'GitHub Desktop.app'
|
|
|
|
zap delete: [
|
|
'~/Library/Application Support/GitHub Desktop',
|
|
'~/Library/Application Support/ShipIt_stderr.log',
|
|
'~/Library/Application Support/ShipIt_stdout.log',
|
|
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.github.GitHubClient.sfl',
|
|
'~/Library/Application Support/com.github.GitHubClient',
|
|
'~/Library/Application Support/com.github.GitHubClient.ShipIt',
|
|
'~/Library/Caches/com.github.GitHubClient',
|
|
'~/Library/Caches/com.github.GitHubClient.ShipIt',
|
|
'~/Library/Preferences/com.github.GitHubClient.helper.plist',
|
|
'~/Library/Preferences/com.github.GitHubClient.plist',
|
|
],
|
|
rmdir: '~/.config/git'
|
|
end
|