homebrew-cask/Casks/c/cardhop.rb

33 lines
1.0 KiB
Ruby

cask "cardhop" do
version "2.2.11"
sha256 "0e83b44339790d831e17e4c1d178ecfbc2ac35ca640ef0af2c95c6b41ffe5ddd"
url "https://cdn.flexibits.com/Cardhop_#{version}.zip"
name "Cardhop"
desc "Contacts manager"
homepage "https://flexibits.com/cardhop"
livecheck do
url "https://flexibits.com/cardhop/appcast.php"
strategy :sparkle, &:short_version
end
auto_updates true
depends_on macos: ">= :big_sur"
app "Cardhop.app"
uninstall launchctl: "com.flexibits.cardhop.mac.launcher",
quit: "com.flexibits.cardhop.mac"
zap trash: [
"~/Library/Application Scripts/com.flexibits.cardhop.mac",
"~/Library/Application Scripts/com.flexibits.cardhop.mac.BluetoothDialer",
"~/Library/Application Scripts/com.flexibits.cardhop.mac.launcher",
"~/Library/Containers/com.flexibits.cardhop.mac",
"~/Library/Containers/com.flexibits.cardhop.mac.BluetoothDialer",
"~/Library/Containers/com.flexibits.cardhop.mac.launcher",
"~/Library/Preferences/com.flexibits.cardhop.mac.plist",
]
end