forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhiddenbar.rb
28 lines (22 loc) · 824 Bytes
/
hiddenbar.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
cask "hiddenbar" do
version "1.9"
sha256 "3f54b024f5c1c40bc18aebe39014710289b47e147e71561fae22a661cab26d02"
url "https://github.com/dwarvesf/hidden/releases/download/v#{version}/Hidden.Bar.#{version}.dmg"
name "Hidden Bar"
desc "Utility to hide menu bar items"
homepage "https://github.com/dwarvesf/hidden/"
livecheck do
url :url
strategy :github_latest
end
depends_on macos: ">= :high_sierra"
app "Hidden Bar.app"
uninstall launchctl: "com.dwarvesv.LauncherApplication",
quit: "com.dwarvesv.minimalbar"
zap trash: [
"~/Library/Application Scripts/com.dwarvesv.LauncherApplication",
"~/Library/Application Scripts/com.dwarvesv.minimalbar",
"~/Library/Containers/com.dwarvesv.LauncherApplication",
"~/Library/Containers/com.dwarvesv.minimalbar",
]
end