Merge pull request #200213 from Homebrew/bump-tidelift-1.14.0
[Homebrew/homebrew-cask.git] / Casks / a / aldente.rb
blob0874f7b53d56ab26a5b160343b6c36b77a28ec57
1 cask "aldente" do
2   version "1.30"
3   sha256 "3b7b7c566d72fce70fcf3f4c80a0394dc68ae371e13eb511bcf796797be3b23a"
5   url "https://github.com/AppHouseKitchen/AlDente-Charge-Limiter/releases/download/#{version}/AlDente.dmg",
6       verified: "github.com/AppHouseKitchen/AlDente-Charge-Limiter/"
7   name "AlDente"
8   desc "Menu bar tool to limit maximum charging percentage"
9   homepage "https://apphousekitchen.com/"
11   livecheck do
12     url :url
13     strategy :github_latest
14   end
16   auto_updates true
17   depends_on macos: ">= :big_sur"
19   app "AlDente.app"
21   uninstall launchctl:  "com.apphousekitchen.aldente-pro.helper",
22             quit:       "com.apphousekitchen.aldente-pro",
23             login_item: "AlDente",
24             delete:     "/Library/PrivilegedHelperTools/com.apphousekitchen.aldente-pro.helper"
26   zap trash: [
27     "~/Library/Application Support/AlDente",
28     "~/Library/Caches/com.apphousekitchen.aldente-pro",
29     "~/Library/HTTPStorages/com.apphousekitchen.aldente-pro",
30     "~/Library/HTTPStorages/com.apphousekitchen.aldente-pro.binarycookies",
31     "~/Library/Preferences/com.apphousekitchen.aldente-pro.plist",
32     "~/Library/Preferences/com.apphousekitchen.aldente-pro_backup.plist",
33     "~/Library/Preferences/com.apphousekitchen.aldente-pro_stats.sqlite3",
34   ]
35 end