excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / k / keepassxc.rb
blob1fda1ae5a0114bcbe96eab0d0fa1e8262c2b16be
1 cask "keepassxc" do
2   arch arm: "arm64", intel: "x86_64"
4   version "2.7.9"
5   sha256 arm:   "66259a7c020c60a6e842ed8a263b1aea0c5b43c894497d03576266fda9c1f577",
6          intel: "a10c5bf17a8107dcae9d19a36a06f5ef7b1cf4ee88046a16cc1073dc84c7f45e"
8   url "https://github.com/keepassxreboot/keepassxc/releases/download/#{version}/KeePassXC-#{version}-#{arch}.dmg",
9       verified: "github.com/keepassxreboot/keepassxc/"
10   name "KeePassXC"
11   desc "Password manager app"
12   homepage "https://keepassxc.org/"
14   livecheck do
15     url :url
16     strategy :github_latest
17   end
19   conflicts_with cask: "keepassxc@beta"
20   depends_on macos: ">= :high_sierra"
22   app "KeePassXC.app"
23   binary "#{appdir}/KeePassXC.app/Contents/MacOS/keepassxc-cli"
25   uninstall quit: "org.keepassxc.keepassxc"
27   zap trash: [
28     "~/.keepassxc",
29     "~/Library/Application Support/CrashReporter/KeePassXC_*.plist",
30     "~/Library/Application Support/keepassxc",
31     "~/Library/Caches/org.keepassx.keepassxc",
32     "~/Library/Logs/DiagnosticReports/KeePassXC_*.crash",
33     "~/Library/Preferences/keepassxc.keepassxc.plist",
34     "~/Library/Preferences/org.keepassx.keepassxc.plist",
35     "~/Library/Saved Application State/org.keepassx.keepassxc.savedState",
36   ]
37 end