23 lines
863 B
Ruby
23 lines
863 B
Ruby
cask "glyphs" do
|
|
version "3.0.2,3042"
|
|
sha256 "af25eb5964ed61c8872cba2189688fc85c7f407aa9a97f9d9115c99113364852"
|
|
|
|
url "https://updates.glyphsapp.com/Glyphs#{version.before_comma}-#{version.after_comma}.zip"
|
|
appcast "https://updates.glyphsapp.com/appcast#{version.major}.xml"
|
|
name "Glyphs"
|
|
desc "Font Editor"
|
|
homepage "https://glyphsapp.com/"
|
|
|
|
auto_updates true
|
|
|
|
app "Glyphs #{version.major}.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/Glyphs",
|
|
"~/Library/Application Support/com.GeorgSeifert.Glyphs3",
|
|
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.georgseifert.glyphs3.sfl*",
|
|
"~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/com.GeorgSeifert.Glyphs3.help*",
|
|
"~/Library/Preferences/com.GeorgSeifert.Glyphs3.plist",
|
|
]
|
|
end
|