Update freedome to 2.19.5374.0 (#49583)

* Update freedome to 2.19.5374.0

* Update freedome.rb

* Update freedome.rb

* Update freedome.rb

* Update freedome.rb

* Update freedome.rb
This commit is contained in:
Chadwick Strange 2018-07-30 07:06:59 -07:00 committed by Vítor Galvão
parent d53c2c8aed
commit cd8d2cb6fe
1 changed files with 10 additions and 23 deletions

View File

@ -2,31 +2,18 @@ cask 'freedome' do
version :latest
sha256 :no_check
url 'https://download.sp.f-secure.com/freedome/installer/Freedome.dmg'
url 'https://download.sp.f-secure.com/freedome/installer/2/Freedome.pkg'
name 'F-Secure Freedome'
homepage 'https://www.f-secure.com/en_US/web/home_us/freedome'
app 'Freedome.app'
pkg 'Freedome.pkg'
uninstall_preflight do
set_ownership "#{appdir}/Freedome.app"
end
uninstall delete: '/Library/Application Support/F-Secure/FSFreedome',
launchctl: 'com.fsecure.freedome.uninstall',
quit: 'com.fsecure.freedome.osx',
script: {
executable: '/Library/Application Support/F-Secure/FSFreedome/admin/UninstallFreedome.sh',
args: ["#{appdir}/Freedome.app"],
sudo: true,
}
zap trash: [
'~/Library/Application Support/F-Secure/FSFreedome',
'~/Library/Caches/com.fsecure.freedome.osx',
],
rmdir: [
'~/Library/Application Support/F-Secure/',
'/Library/Application Support/F-Secure',
]
uninstall pkgutil: 'com.f-secure.freedome*',
launchctl: [
'com.f-secure.freedome.gui',
'com.f-secure.freedome.uninstall',
'com.f-secure.fsvpn-service-helper.production',
'com.f-secure.fsvpn-service.production',
'com.f-secure.fsvpn-upstream.production',
]
end