1 cask "affinity-publisher" do
3 sha256 "f8e4d00e25dde9acd027ec54a4111247f9a2903f970a6f48fca0a1dc7350d407"
5 url "https://affinity-update.s3.amazonaws.com/mac2/retail/Affinity%20Publisher%20#{version.csv.first.major}%20Affinity%20Store%20#{version.csv.second}.zip",
6 verified: "affinity-update.s3.amazonaws.com/"
7 name "Affinity Publisher #{version.csv.first.major}"
8 desc "Professional desktop publishing software"
9 homepage "https://affinity.serif.com/en-us/publisher/"
12 url "https://go.seriflabs.com/affinity-update-mac-retail-publisher#{version.csv.first.major}"
13 strategy :sparkle do |item|
14 "#{item.short_version},#{item.version}"
19 depends_on macos: ">= :catalina"
21 app "Affinity Publisher #{version.csv.first.major}.app"
24 "~/Library/Application Support/Affinity Publisher #{version.csv.first.major}",
25 "~/Library/Caches/com.seriflabs.affinitypublisher#{version.csv.first.major}",
26 "~/Library/HTTPStorages/com.seriflabs.affinitypublisher#{version.csv.first.major}",
27 "~/Library/Preferences/com.seriflabs.affinitypublisher#{version.csv.first.major}.plist",
28 "~/Library/Saved Application State/com.seriflabs.affinitypublisher#{version.csv.first.major}.savedState",
29 "~/Library/WebKit/com.seriflabs.affinitypublisher#{version.csv.first.major}",