-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
/
funter.rb
33 lines (28 loc) · 1.26 KB
/
funter.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
32
33
cask "funter" do
version "6.2.6"
sha256 :no_check
url "https://download.nektony.com/download/funter/Funter.dmg"
name "Funter"
desc "Shows hidden files and folders and switches their visibility in Finder"
homepage "https://nektony.com/products/funter"
livecheck do
url "https://download.nektony.com/pro-support/v3/funter/update/update.xml"
strategy :sparkle, &:short_version
end
depends_on macos: ">= :high_sierra"
app "Funter #{version.major}.app"
# MacCleaner files are part of the cask
zap trash: [
"~/Library/Application Scripts/8DKG4XB37M.group.com.nektony.Funter-SIII",
"~/Library/Application Scripts/8DKG4XB37M.group.com.nektony.MacCleaner-PRO-SIII",
"~/Library/Application Scripts/com.nektony.Funter-SIII*",
"~/Library/Application Support/com.nektony.Funter-SIII",
"~/Library/Caches/com.nektony.Funter-SIII",
"~/Library/Containers/com.nektony.Funter-SIII.FinderSyncExt*",
"~/Library/Group Containers/8DKG4XB37M.group.com.nektony.Funter-SIII",
"~/Library/Group Containers/8DKG4XB37M.group.com.nektony.MacCleaner-PRO-SIII",
"~/Library/HTTPStorages/com.nektony.Funter-SIII",
"~/Library/Preferences/com.nektony.Funter-SIII.plist",
"~/Library/Saved Application State/com.nektony.Funter-SIII.savedState",
]
end