27 lines
961 B
Ruby
27 lines
961 B
Ruby
cask "glyphs" do
|
|
version "3.0.4,3106"
|
|
sha256 "f2ea152cd85e66af7167b1de0522b1903a8da8fad6119f96c229d9a89dd87ae5"
|
|
|
|
url "https://updates.glyphsapp.com/Glyphs#{version.csv.first}-#{version.csv.second}.zip"
|
|
name "Glyphs"
|
|
desc "Font editor"
|
|
homepage "https://glyphsapp.com/"
|
|
|
|
livecheck do
|
|
url "https://updates.glyphsapp.com/appcast#{version.major}.xml"
|
|
strategy :sparkle
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
app "Glyphs #{version.major}.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.georgseifert.glyphs#{version.major}.sfl*",
|
|
"~/Library/Application Support/com.GeorgSeifert.Glyphs#{version.major}",
|
|
"~/Library/Application Support/Glyphs",
|
|
"~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/com.GeorgSeifert.Glyphs#{version.major}.help*",
|
|
"~/Library/Preferences/com.GeorgSeifert.Glyphs#{version.major}.plist",
|
|
]
|
|
end
|