homebrew-cask/Casks/glyphs.rb

27 lines
905 B
Ruby

cask "glyphs" do
version "3.0.2,3050"
sha256 "50cedecb8831577ca09c2b71d648b349846b7c1b725a0f4dc3a244d69141893d"
url "https://updates.glyphsapp.com/Glyphs#{version.before_comma}-#{version.after_comma}.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/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