homebrew-cask/Casks/fork.rb

23 lines
824 B
Ruby

cask 'fork' do
version '1.0.88'
sha256 '3ca47cb7fc2cc01b5a57cb22b78c73d173861d47f1c7878db7439b8332618f37'
# forkapp.ams3.cdn.digitaloceanspaces.com/mac was verified as official when first introduced to the cask
url "https://forkapp.ams3.cdn.digitaloceanspaces.com/mac/Fork-#{version}.dmg"
appcast 'https://git-fork.com/update/feed.xml'
name 'Fork'
homepage 'https://git-fork.com/'
auto_updates true
app 'Fork.app'
binary "#{appdir}/Fork.app/Contents/Resources/fork_cli", target: 'fork'
zap trash: [
'~/Library/Application Support/com.DanPristupov.Fork',
'~/Library/Caches/com.DanPristupov.Fork',
'~/Library/Preferences/com.DanPristupov.Fork.plist',
'~/Library/Saved Application State/com.DanPristupov.Fork.savedState',
]
end