|
|
|
cask 'github-desktop-beta' do
|
|
|
|
version '1.0.2-beta1-4a9251e0'
|
|
|
|
sha256 'f25488688a6856ce30e85d1d75e3ac98129b05fc783efd5876d4aaabc9029640'
|
|
|
|
|
|
|
|
# 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: '18345acc1c063fca2852a5e5de2ce8008ffdbdfc66c8699a9124451889664c31'
|
|
|
|
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
|