mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-06-30 06:12:15 -06:00
29 lines
1.4 KiB
Ruby
29 lines
1.4 KiB
Ruby
cask 'github-beta' do
|
|
version '2.2.1-beta1-b3cd96a3'
|
|
sha256 '2f6c96763f11ad8ba146f3c41d053d606aee9fb03a20da5d0021b862c67cb43f'
|
|
|
|
# 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'
|
|
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
|