homebrew-cask/Casks/cardhop.rb

33 lines
1.0 KiB
Ruby

cask "cardhop" do
version "2.2.5,1126"
sha256 "06c3a7fee58716121f2a8dd812c4f0187c82356a95bda8d8496969830e508bf4"
url "https://cdn.flexibits.com/Cardhop_#{version.csv.first}.zip"
name "Cardhop"
desc "Contacts manager"
homepage "https://flexibits.com/cardhop"
livecheck do
url "https://flexibits.com/cardhop/appcast.php"
strategy :sparkle
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.launcher",
"~/Library/Application Scripts/com.flexibits.cardhop.mac.BluetoothDialer",
"~/Library/Containers/com.flexibits.cardhop.mac",
"~/Library/Containers/com.flexibits.cardhop.mac.launcher",
"~/Library/Containers/com.flexibits.cardhop.mac.BluetoothDialer",
"~/Library/Preferences/com.flexibits.cardhop.mac.plist",
]
end