26 lines
884 B
Ruby
26 lines
884 B
Ruby
cask 'nutstore' do
|
|
version :latest
|
|
sha256 :no_check
|
|
|
|
url 'https://jianguoyun.com/static/exe/installer/NutstoreOSXInstaller.dmg'
|
|
name 'Nutstore'
|
|
homepage 'https://www.jianguoyun.com/'
|
|
|
|
installer manual: 'Nutstore Installer.app'
|
|
|
|
uninstall launchctl: 'net.nutstore.agent',
|
|
quit: [
|
|
'net.nutstore.NutstoreJavaBE',
|
|
'net.nutstore.osxapp',
|
|
'net.nutstore.osxapp.FinderSyncExtension',
|
|
],
|
|
login_item: 'Nutstore',
|
|
delete: '/Applications/Nutstore.app'
|
|
|
|
zap delete: [
|
|
'~/Library/Saved Application State/net.nutstore.osxapp.nutstoreInstaller.savedState',
|
|
'~/Library/Preferences/net.nutstore.osxapp.plist',
|
|
'~/Library/Preferences/net.nutstore.NutstoreJavaBE.plist',
|
|
]
|
|
end
|