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 version :latest
sha256 :no_check 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' name 'F-Secure Freedome'
homepage 'https://www.f-secure.com/en_US/web/home_us/freedome' homepage 'https://www.f-secure.com/en_US/web/home_us/freedome'
app 'Freedome.app' pkg 'Freedome.pkg'
uninstall_preflight do uninstall pkgutil: 'com.f-secure.freedome*',
set_ownership "#{appdir}/Freedome.app" launchctl: [
end 'com.f-secure.freedome.gui',
'com.f-secure.freedome.uninstall',
uninstall delete: '/Library/Application Support/F-Secure/FSFreedome', 'com.f-secure.fsvpn-service-helper.production',
launchctl: 'com.fsecure.freedome.uninstall', 'com.f-secure.fsvpn-service.production',
quit: 'com.fsecure.freedome.osx', 'com.f-secure.fsvpn-upstream.production',
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',
]
end end