excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / l / liteicon.rb
blob0458e5273fbc590e202e4eb9fae379e7e32e0140
1 cask "liteicon" do
2   on_sierra :or_older do
3     version "3.7.1"
4     sha256 "b457521a698a0ef55cd3d9c044c82c28984eeebc20d8baf05a9c21b0fa1df432"
5   end
6   on_high_sierra do
7     version "3.9"
8     sha256 "d185503d1c6cbbc6f770517853bd9ef08dc620f4e7ce3de913251a57e4d450d9"
9   end
10   on_mojave :or_newer do
11     version "4.1"
12     sha256 "545cff53df31b63fe28e794fb7f45e4c891885f5de57422b1483724f6d7ed4e0"
13   end
15   url "https://www.freemacsoft.net/downloads/LiteIcon_#{version}.zip"
16   name "LiteIcon"
17   desc "Tool to change system icons"
18   homepage "https://freemacsoft.net/liteicon/"
20   deprecate! date: "2024-06-11", because: :discontinued
22   auto_updates true
24   app "LiteIcon.app"
26   uninstall launchctl: "net.freemacsoft.LiteIcon.LIHelperTool",
27             quit:      "net.freemacsoft.LiteIcon",
28             delete:    [
29               "/Library/PrivilegedHelperTools/net.freemacsoft.LiteIcon.LIHelperTool",
30               "~/Library/Application Support/LiteIcon",
31             ]
33   zap trash: [
34     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/net.freemacsoft.liteicon.sfl*",
35     "~/Library/Application Support/CrashReporter/LiteIcon_*.plist",
36     "~/Library/Preferences/net.freemacsoft.LiteIcon.plist",
37   ]
39   caveats do
40     requires_rosetta
41   end
42 end