Update SpiderOakONE (#54658)

* Update SpiderOakONE

* Correctly set the minimum supported version to Mavericks
* Correctly format the url conditionals such that High Sierra is the only version with a different URL. Both older and newer macOS versions use the same URL
* Send a SIGTERM before uninstalling with ‘pkgutil:’
* add support for ‘brew cask zap’ in case the Cask needs to be permanently removed, or the user wants to reinstall as a brand new device

* Update spideroakone.rb

* Revert "Update spideroakone.rb"

This reverts commit d755ac1b37.

* Update spideroakone.rb
This commit is contained in:
Gavin Chappell 2018-12-10 12:03:13 +00:00 committed by Markus Reiter
parent 707b2e5834
commit 55efe9191d
1 changed files with 10 additions and 3 deletions

View File

@ -4,15 +4,22 @@ cask 'spideroakone' do
if MacOS.version <= :sierra
url 'https://spideroak.com/release/spideroak/osx'
else
elsif MacOS.version <= :high_sierra
url 'https://spideroak.com/release/spideroak/osx_hs'
else
url 'https://spideroak.com/release/spideroak/osx'
end
name 'SpiderOakOne'
homepage 'https://spideroak.com/'
depends_on macos: '>= :mountain_lion'
depends_on macos: '>= :mavericks'
pkg 'SpiderOakONE.pkg'
uninstall pkgutil: 'org.python.python'
uninstall signal: [
['TERM', 'com.spideroak.orange.client'],
],
pkgutil: 'org.python.python'
zap trash: '~/Library/Application Support/SpiderOakONE'
end