3 sha256 "a3e93220101065c617331162303ef79002cabb49bab3c158d5530e538eb391a0"
5 url "https://github.com/JohnCoates/Aerial/releases/download/v#{version}/Aerial.saver.zip",
6 verified: "github.com/JohnCoates/Aerial/"
7 name "Aerial Screensaver"
8 desc "Apple TV Aerial screensaver"
9 homepage "https://aerialscreensaver.github.io/"
11 # Beta releases are marked as pre-release, so we have to use the
12 # `GithubReleases` strategy to check all recent releases.
15 regex(/^v?(\d+(?:\.\d+)*(?:[._-]?beta\d+)?)$/i)
16 strategy :github_releases do |json, regex|
18 next if release["draft"]
20 match = release["tag_name"]&.match(regex)
28 conflicts_with cask: "aerial"
29 depends_on macos: ">= :sierra"
31 screen_saver "Aerial.saver"
34 "~/Library/Application Support/Aerial",
35 "~/Library/Caches/Aerial",
36 "~/Library/Containers/com.apple.ScreenSaver.*/Data/Library/Application Support/Aerial",
37 "~/Library/Containers/com.apple.ScreenSaver.*/Data/Library/Application Support/Aerial",
38 "~/Library/Containers/com.apple.ScreenSaver.*/Data/Library/Caches/Aerial",
39 "~/Library/Containers/com.apple.ScreenSaver.*/Data/Library/Caches/Aerial/",
40 "~/Library/Containers/com.apple.ScreenSaver.*/Data/Library/Preferences/ByHost/com.JohnCoates.Aerial*.plist",
41 "~/Library/Preferences/ByHost/com.JohnCoates.Aerial*",
42 "~/Library/Screen Savers/Aerial.saver",