cask 'github-beta' do version '1.0.10-beta1-a52dde78' sha256 'e5d5c104afa3aaaeb084b68a4a5f4816bd1f61b532898b593f1096361c8df2c1' # 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: '8d15f6b22c3f6be50728dbccf414dfb170ec1d545cc378f26e456ed9c510e75a' 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