excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / aldente.rb
blobe00e78a5222647ea3b9726fb135a322d1b6ede54
1 cask "aldente" do
2   version "1.29"
3   sha256 "175f436678e7959ef27603613cd51aec5a8fa79fcccc371046d92c2245e0222b"
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