homebrew-cask/Casks/forticlient.rb

23 lines
830 B
Ruby

cask 'forticlient' do
version '6.2'
sha256 'cd1b74c5222d7c44a65eca6521602dbd62122b036362bb2c0c65e7f5729ae9d0'
# filestore.fortinet.com/forticlient was verified as official when first introduced to the cask
url "https://filestore.fortinet.com/forticlient/downloads/FortiClientVPNOnlineInstaller_#{version}.dmg"
name 'FortiClient'
homepage 'https://forticlient.com/'
installer manual: 'FortiClientUpdate.app'
uninstall script: {
executable: '/Applications/FortiClientUninstaller.app/Contents/Resources/uninstall_helper',
sudo: true,
}
zap trash: [
'/Library/Application Support/Fortinet',
'~/Library/Application Support/Fortinet',
'~/Library/Application Support/FortiClient',
]
end