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.5 KiB

cask 'github-beta' do
version '1.0.10-beta0-5b1f6aec'
sha256 'a6be0951d4c62866a6d3ca259937315f9b2c46d862b055f55a7d3999f77f4fa2'
# 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: '4324bb9dc78728d711b91872622bb2a178505f31acd4c8980edc67c5bf5aa901'
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 delete: [
'~/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',
],
trash: [
'~/Library/Application Support/GitHub Desktop',
'~/Library/Application Support/com.github.GitHubClient',
'~/Library/Application Support/com.github.GitHubClient.ShipIt',
'~/Library/Preferences/com.github.GitHubClient.helper.plist',
'~/Library/Preferences/com.github.GitHubClient.plist',
],
rmdir: '~/.config/git'
end