37 lines
1.1 KiB
Ruby
37 lines
1.1 KiB
Ruby
cask "keepassxc" do
|
|
arch arm: "arm64", intel: "x86_64"
|
|
|
|
version "2.7.7"
|
|
sha256 arm: "8681540627d03f70f683dc5acd79af8f42bba21425ffaf352c79eb5c31fb9712",
|
|
intel: "8e3a5d93a749569515604241ed21512f689d60c32fa1ed85f57f69042896b655"
|
|
|
|
url "https://github.com/keepassxreboot/keepassxc/releases/download/#{version}/KeePassXC-#{version}-#{arch}.dmg",
|
|
verified: "github.com/keepassxreboot/keepassxc/"
|
|
name "KeePassXC"
|
|
desc "Password manager app"
|
|
homepage "https://keepassxc.org/"
|
|
|
|
livecheck do
|
|
url :url
|
|
strategy :github_latest
|
|
end
|
|
|
|
conflicts_with cask: "keepassxc-beta"
|
|
depends_on macos: ">= :high_sierra"
|
|
|
|
app "KeePassXC.app"
|
|
binary "#{appdir}/KeePassXC.app/Contents/MacOS/keepassxc-cli"
|
|
|
|
uninstall quit: "org.keepassxc.keepassxc"
|
|
|
|
zap trash: [
|
|
"~/.keepassxc",
|
|
"~/Library/Application Support/CrashReporter/KeePassXC_*.plist",
|
|
"~/Library/Application Support/keepassxc",
|
|
"~/Library/Caches/org.keepassx.keepassxc",
|
|
"~/Library/Logs/DiagnosticReports/KeePassXC_*.crash",
|
|
"~/Library/Preferences/org.keepassx.keepassxc.plist",
|
|
"~/Library/Saved Application State/org.keepassx.keepassxc.savedState",
|
|
]
|
|
end
|