2016-10-15 09:01:40 +08:00
|
|
|
cask 'oversight' do
|
2017-04-24 06:08:47 +08:00
|
|
|
version '1.1.2'
|
|
|
|
sha256 '4d930136f7e99880f7fb98cd195c47ee69b011c726be1e860ee4b43546386bd5'
|
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"
|
2017-04-23 18:27:45 +08:00
|
|
|
appcast 'https://objective-see.com/products/changelogs/OverSight.txt',
|
2017-04-24 06:08:47 +08:00
|
|
|
checkpoint: '4ecde116ebc77bdb2c8e173ff7760b69ff57c84376cd1144b22d2408bf126e79'
|
2017-04-14 21:03:45 +08:00
|
|
|
name 'OverSight'
|
2016-10-15 09:01:40 +08:00
|
|
|
homepage 'https://objective-see.com/products/oversight.html'
|
|
|
|
|
2017-04-23 18:27:45 +08:00
|
|
|
depends_on macos: '>= :yosemite'
|
|
|
|
|
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
|