excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / after-dark-classic.rb
blob53678d26346a29980710da19dd644df1c0a1bf49
1 cask "after-dark-classic" do
2   version "1.3"
3   sha256 "4a0973a807232dc37c6994b6c46487ef86af7c3f08b946a74b181735865f0739"
5   url "https://www.infinisys.co.jp/archive/online/online_afterdark#{version.no_dots}e.dmg"
6   name "After Dark Classic Set"
7   desc "Classic After Dark screensaver set"
8   homepage "https://en.infinisys.co.jp/product/afterdarkclassicset/index.shtml"
10   livecheck do
11     url :homepage
12     regex(/After\sDark\sClassic\sSet\s(\d+(?:\.\d+)+)/i)
13   end
15   pkg "AfterDark.pkg"
17   uninstall pkgutil: [
18     "jp.co.infinisys.afterdark.boris11.pkg",
19     "jp.co.infinisys.afterdark.flyingtoasters12.pkg",
20     "jp.co.infinisys.afterdark.mowingman11.pkg",
21   ]
23   zap trash: [
24     "~/Library/Containers/com.apple.ScreenSaver.Engine.legacyScreenSaver/Data/Library/Preferences/ByHost/jp.co.infinisys.boris11.*.plist",
25     "~/Library/Containers/com.apple.ScreenSaver.Engine.legacyScreenSaver/Data/Library/Preferences/ByHost/jp.co.infinisys.flyingscreensaver12.*.plist",
26     "~/Library/Containers/com.apple.ScreenSaver.Engine.legacyScreenSaver/Data/Library/Preferences/ByHost/jp.co.infinisys.mowingman11.*.plist",
27   ]
28 end