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