cask "aldente" do version "1.28.6" sha256 "839d971f1d632b454480b4092febd7d7a6c577c78cbb4770f05aa9e213ad56d1" url "https://github.com/AppHouseKitchen/AlDente-Charge-Limiter/releases/download/#{version}/AlDente.dmg", verified: "github.com/AppHouseKitchen/AlDente-Charge-Limiter/" name "AlDente" desc "Menu bar tool to limit maximum charging percentage" homepage "https://apphousekitchen.com/" livecheck do url :url strategy :github_latest end auto_updates true depends_on macos: ">= :big_sur" app "AlDente.app" uninstall launchctl: "com.apphousekitchen.aldente-pro.helper", quit: "com.apphousekitchen.aldente-pro", login_item: "AlDente", delete: "/Library/PrivilegedHelperTools/com.apphousekitchen.aldente-pro.helper" zap trash: [ "~/Library/Application Support/AlDente", "~/Library/Caches/com.apphousekitchen.aldente-pro", "~/Library/HTTPStorages/com.apphousekitchen.aldente-pro", "~/Library/HTTPStorages/com.apphousekitchen.aldente-pro.binarycookies", "~/Library/Preferences/com.apphousekitchen.aldente-pro.plist", "~/Library/Preferences/com.apphousekitchen.aldente-pro_backup.plist", "~/Library/Preferences/com.apphousekitchen.aldente-pro_stats.sqlite3", ] end