excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / r / reikey.rb
blob8e16e42475b5aee51b537a7a4508b3f078e549d6
1 cask "reikey" do
2   version "1.4.2"
3   sha256 "ceee2ece8dde1e1d8d498aa5d9782dbf5a62b324903732e08a97de086811446b"
5   url "https://bitbucket.org/objective-see/deploy/downloads/ReiKey_#{version}.zip",
6       verified: "bitbucket.org/objective-see/"
7   name "ReiKey"
8   desc "Scans, detects, and monitors keyboard taps"
9   homepage "https://objective-see.com/products/reikey.html"
11   depends_on macos: ">= :high_sierra"
13   installer script: {
14     executable: "#{staged_path}/ReiKey Installer.app/Contents/MacOS/ReiKey Installer",
15     args:       ["-install"],
16     sudo:       true,
17   }
19   uninstall script: {
20     executable: "#{staged_path}/ReiKey Installer.app/Contents/MacOS/ReiKey Installer",
21     args:       ["-uninstall"],
22     sudo:       true,
23   }
25   zap trash: [
26     "~/Library/Caches/SentryCrash/ReiKey Installer",
27     "~/Library/Caches/SentryCrash/ReiKey Installer/Data",
28     "~/Library/Caches/SentryCrash/ReiKey Installer/Data/ConsoleLog.txt",
29     "~/Library/Caches/SentryCrash/ReiKey Installer/Data/CrashState.json",
30     "~/Library/Caches/SentryCrash/ReiKey Installer/Reports",
31   ]
32 end