2019-03-08 22:36:38 +08:00
|
|
|
cask 'ballast' do
|
2019-05-05 20:54:46 +08:00
|
|
|
version '1.2.1'
|
|
|
|
sha256 '947c0c417ddf0fa0abcdb4d8e9b49f9e26bf17bd3590261f0d8ca1acabe8cf97'
|
2019-03-08 22:36:38 +08:00
|
|
|
|
|
|
|
# github.com/jamsinclair/ballast was verified as official when first introduced to the cask
|
|
|
|
url "https://github.com/jamsinclair/ballast/releases/download/v#{version}/ballast-v#{version}.zip"
|
|
|
|
appcast 'https://github.com/jamsinclair/ballast/releases.atom'
|
|
|
|
name 'ballast'
|
|
|
|
homepage 'https://jamsinclair.nz/ballast'
|
|
|
|
|
|
|
|
depends_on macos: '>= :sierra'
|
|
|
|
|
|
|
|
app 'ballast.app'
|
|
|
|
|
|
|
|
uninstall quit: 'nz.jamsinclair.ballast',
|
|
|
|
launchctl: 'nz.jamsinclair.ballast-LaunchAtLoginHelper'
|
|
|
|
|
|
|
|
zap trash: [
|
|
|
|
'~/Library/Preferences/nz.jamsinclair.ballast.plist',
|
|
|
|
'~/Library/Application Scripts/nz.jamsinclair.ballast',
|
|
|
|
'~/Library/Application Scripts/nz.jamsinclair.ballast-LaunchAtLoginHelper',
|
|
|
|
'~/Library/Containers/nz.jamsinclair.ballast',
|
|
|
|
'~/Library/Containers/nz.jamsinclair.ballast-LaunchAtLoginHelper',
|
|
|
|
]
|
|
|
|
end
|