excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / arctic.rb
blob03d195b914651fce2016a91bfe1069a43b5cdb18
1 cask "arctic" do
2   version "24.3.0,43,20241110055239"
3   sha256 "393752bb870bfaf95d19cc42d4622c749b699a5dee705c6a4f68aa57a30199aa"
5   url "https://updates.hedge.video/arctic/macos/updates/production/Arctic_#{version.csv.third}_v#{version.csv.first}b#{version.csv.second}/Arctic-#{version.csv.second}.zip"
6   name "Arctic"
7   desc "Display and manage Final Cut Pro X libraries"
8   homepage "https://hedge.video/arctic"
10   livecheck do
11     url "https://updates.hedge.video/arctic/macos/appcast/arctic-prod.xml"
12     regex(/Arctic[._-](\d+)[._-]/i)
13     strategy :sparkle do |item, regex|
14       date = item.url[regex, 1]
15       next if date.blank?
17       "#{item.short_version},#{item.version},#{date}"
18     end
19   end
21   depends_on macos: ">= :big_sur"
23   app "Arctic.app"
25   zap trash: [
26     "~/Library/Application Support/Arctic",
27     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/video.hedge.arctic.mac.sfl*",
28     "~/Library/HTTPStorages/video.hedge.Arctic.Mac",
29     "~/Library/HTTPStorages/video.hedge.Arctic.Mac.binarycookies",
30     "~/Library/Logs/Arctic",
31     "~/Library/Preferences/video.hedge.Arctic.Mac.plist",
32     "~/Library/Saved Application State/video.hedge.Arctic.Mac.savedState",
33   ]
34 end