36 lines
1.5 KiB
Ruby
36 lines
1.5 KiB
Ruby
cask 'oversight' do
|
|
version '1.2.0'
|
|
sha256 '786eea6de3da8a15919159b51a7753ef7ecb26a0ed638725f7925fd0392a6fa9'
|
|
|
|
# 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/changelogs/OverSight.txt',
|
|
checkpoint: '67bbc51e807127df731de413dcd35fe5f9bb58c882ed2ef133d3e27e2f9657d9'
|
|
name 'OverSight'
|
|
homepage 'https://objective-see.com/products/oversight.html'
|
|
|
|
depends_on macos: '>= :yosemite'
|
|
|
|
installer script: {
|
|
executable: "#{staged_path}/OverSight_Installer.app/Contents/MacOS/OverSight_Installer",
|
|
args: ['-install'],
|
|
sudo: true,
|
|
}
|
|
|
|
uninstall script: {
|
|
executable: "#{staged_path}/OverSight_Installer.app/Contents/MacOS/OverSight_Installer",
|
|
args: ['-uninstall'],
|
|
sudo: true,
|
|
}
|
|
|
|
zap delete: [
|
|
'~/Library/Caches/com.objective-see.OverSight',
|
|
'~/Library/Caches/com.objective-see.OverSightHelper',
|
|
],
|
|
trash: [
|
|
'~/Library/Application Support/Objective-See/OverSight',
|
|
'~/Library/Preferences/com.objective-see.OverSight.plist',
|
|
'~/Library/Preferences/com.objective-see.OverSightHelper.plist',
|
|
]
|
|
end
|