homebrew-cask/Casks/oversight.rb

34 lines
1.4 KiB
Ruby
Raw Normal View History

2016-10-15 09:01:40 +08:00
cask 'oversight' do
2017-09-25 19:00:27 +08:00
version '1.2.0'
sha256 '786eea6de3da8a15919159b51a7753ef7ecb26a0ed638725f7925fd0392a6fa9'
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-09-25 19:00:27 +08:00
checkpoint: '67bbc51e807127df731de413dcd35fe5f9bb58c882ed2ef133d3e27e2f9657d9'
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
2017-11-18 18:03:14 +08:00
zap trash: [
'~/Library/Application Support/Objective-See/OverSight',
'~/Library/Caches/com.objective-see.OverSight',
'~/Library/Caches/com.objective-see.OverSightHelper',
'~/Library/Preferences/com.objective-see.OverSight.plist',
'~/Library/Preferences/com.objective-see.OverSightHelper.plist',
]
2016-10-15 09:01:40 +08:00
end