32 lines
1.0 KiB
Ruby
32 lines
1.0 KiB
Ruby
cask "oversight" do
|
|
version "2.1.6"
|
|
sha256 "a2911647a02d57bcedf6d71297a3ed281a601ad262fa0acec5e847c4ae1e609e"
|
|
|
|
url "https://github.com/objective-see/OverSight/releases/download/v#{version}/OverSight_#{version}.zip",
|
|
verified: "github.com/objective-see/OverSight/"
|
|
name "OverSight"
|
|
desc "Monitors computer mic and webcam"
|
|
homepage "https://objective-see.com/products/oversight.html"
|
|
|
|
depends_on macos: ">= :monterey"
|
|
|
|
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 trash: [
|
|
"~/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",
|
|
]
|
|
end
|