homebrew-cask-versions/Casks/github-beta.rb
2018-04-19 02:43:45 +01:00

30 lines
1.5 KiB
Ruby

cask 'github-beta' do
version '1.1.2-beta3-cdbfde44'
sha256 '36b25402c360ba71436920852e470badbf0fa3bd355d26427e1193b9578233b1'
# 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: 'd38613a88d55b7d3988a9f510ce5ca54359d8508a04d9d4cebeebbb795ca26c8'
name 'GitHub Desktop'
homepage 'https://desktop.github.com/'
auto_updates true
app 'GitHub Desktop.app'
binary "#{appdir}/GitHub Desktop.app/Contents/Resources/app/static/github.sh", target: 'github'
zap trash: [
'~/Library/Application Support/GitHub Desktop',
'~/Library/Application Support/com.github.GitHubClient',
'~/Library/Application Support/com.github.GitHubClient.ShipIt',
'~/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/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