homebrew-cask/Casks/oversight.rb

30 lines
1.3 KiB
Ruby
Raw Normal View History

2016-10-15 09:01:40 +08:00
cask 'oversight' do
2017-04-17 04:42:15 +08:00
version '1.1.1'
sha256 '9dc5b18b268fa17d9e23534b96dc01a069bf0ba332f781dd96e9b1320c3f67d3'
2016-10-15 09:01:40 +08:00
# bitbucket.org/objective-see was verified as official when first introduced to the cask
url "https://bitbucket.org/objective-see/deploy/downloads/OverSight_#{version}.zip"
appcast 'https://objective-see.com/products/versions/oversight.json',
2017-04-14 21:03:45 +08:00
checkpoint: 'cd2bf3138784a13e5d52b5b1d61959e6084ccca4458eb4cace4e4f8fd8de397d'
name 'OverSight'
2016-10-15 09:01:40 +08:00
homepage 'https://objective-see.com/products/oversight.html'
2017-04-14 21:03:45 +08:00
installer script: {
executable: "#{staged_path}/OverSight_Installer.app/Contents/MacOS/OverSight_Installer",
args: ['-install'],
sudo: true,
}
2016-10-15 09:01:40 +08:00
2017-04-14 21:03:45 +08:00
uninstall script: {
executable: "#{staged_path}/OverSight_Installer.app/Contents/MacOS/OverSight_Installer",
args: ['-uninstall'],
sudo: true,
}
2017-04-14 21:43:20 +08:00
zap delete: [
'~/Library/Preferences/com.objective-see.OverSight.plist',
'~/Library/Application Support/Objective-See/OverSight',
2017-04-18 17:00:27 +08:00
'~/Library/Caches/com.objective-see.OverSightHelper',
2017-04-14 21:43:20 +08:00
]
2016-10-15 09:01:40 +08:00
end