cask 'github-beta' do version '1.0.7-beta0-173df3c1' sha256 'a9535bc0be19b2cdb36facb86b3de4d130650cef7ece95895c2a8766fdcc9a5a' # 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: 'eca0e23c36eddb5a1dc9971bf5b476a11d0adbaaecbc224f22f9746da2651f97' 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