forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aldente.rb
31 lines (25 loc) · 930 Bytes
/
aldente.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
cask "aldente" do
version "1.12"
sha256 "c44838b1a5abe5554bcfe1c90f3c0b412681388f8c89b7e7e8ada866d811620f"
url "https://github.com/davidwernhart/AlDente/releases/download/#{version}/AlDente.dmg"
name "AlDente"
desc "Menu bar tool to limit maximum charging percentage"
homepage "https://github.com/davidwernhart/AlDente"
livecheck do
url :url
strategy :github_latest
end
auto_updates true
depends_on macos: ">= :big_sur"
app "AlDente.app"
uninstall quit: "com.davidwernhart.Helper",
delete: [
"/Library/LaunchDaemons/com.apphousekitchen.aldente-pro.helper.plist",
"/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.binarycookies",
]
end