25 lines
990 B
Ruby
25 lines
990 B
Ruby
cask :v1 => 'syncthing-bar' do
|
|
version '0.0.4'
|
|
sha256 '16aeeddb27bd8fb0820f238eec71300963d753e355fd09c44e2be240bc8e19d8'
|
|
|
|
url "https://github.com/m0ppers/syncthing-bar/releases/download/#{version}/syncthing-bar-#{version}.pkg"
|
|
appcast 'https://github.com/m0ppers/syncthing-bar/releases.atom'
|
|
name 'Syncthing bar'
|
|
homepage 'https://github.com/m0ppers/syncthing-bar'
|
|
license :oss
|
|
|
|
pkg "syncthing-bar-#{version}.pkg"
|
|
|
|
uninstall :quit => 'koeln.mop.syncthing-bar',
|
|
:pkgutil => 'koeln.mop.syncthing-bar',
|
|
:launchctl => 'koeln.mop.syncthing-bar.agent',
|
|
:delete => '/Applications/syncthing-bar.app'
|
|
|
|
zap :delete => [
|
|
'~/Library/Application Support/Syncthing',
|
|
'~/Library/Caches/koeln.mop.syncthing-bar',
|
|
'~/Library/Saved Application State/koeln.mop.syncthing-bar.savedState',
|
|
'/Library/LaunchAgents/koeln.mop.syncthing-bar.agent.plist'
|
|
]
|
|
end
|