homebrew-cask/Casks/station.rb

30 lines
1.1 KiB
Ruby

cask 'station' do
version '1.34.1'
sha256 'e66fdecf81ab7fdbc32b6ae467e7f801536bf110acd20d4bf2ea0a3a4e6b94cf'
# github.com/getstation/desktop-app-releases was verified as official when first introduced to the cask
url "https://github.com/getstation/desktop-app-releases/releases/download/#{version}/Station-#{version}.dmg"
appcast 'https://github.com/getstation/desktop-app-releases/releases.atom'
name 'Station'
homepage 'https://getstation.com/'
auto_updates true
app 'Station.app'
uninstall quit: [
'org.efounders.BrowserX',
'org.efounders.BrowserX.helper',
]
zap trash: [
'~/Library/Application Support/Station/',
'~/Library/Caches/org.efounders.BrowserX',
'~/Library/Caches/org.efounders.BrowserX.ShipIt',
'~/Library/Logs/Station',
'~/Library/Preferences/org.efounders.BrowserX.helper.plist',
'~/Library/Preferences/org.efounders.BrowserX.plist',
'~/Library/Saved Application State/org.efounders.BrowserX.savedState',
]
end