homebrew-cask/Casks/glyphs.rb

23 lines
863 B
Ruby

cask "glyphs" do
version "3.0.2,3043"
sha256 "cdc06646c01f6bbe8d2590c05588b574f81ce4d5b6f23f32655faaacb326d8fe"
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