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.
30 lines
1.5 KiB
30 lines
1.5 KiB
cask 'github-beta' do
|
|
version '1.0.11-beta0-94643ad0'
|
|
sha256 '52a8487581eb64890b7f0d1bbe8cf45e95b4f836dc6d6d0993ebaee0525452f9'
|
|
|
|
# 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: '75cdc1c797de04d939b552d8824b53c97869aaccc57ebde9296436114f7a15f6'
|
|
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
|
|
|