homebrew-cask/Casks/glyphs.rb

22 lines
896 B
Ruby

cask 'glyphs' do
version '2.6.5,1313'
sha256 '5d5f58fe2cb3ed215fbd2f4989575f426600be1dd3eb64113428982c30e94325'
url "https://updates.glyphsapp.com/Glyphs#{version.major_minor_patch}-#{version.after_comma}.zip"
appcast "https://updates.glyphsapp.com/appcast#{version.major}.xml"
name 'Glyphs'
homepage 'https://glyphsapp.com/'
auto_updates true
app 'Glyphs.app'
zap trash: [
'~/Library/Application Support/Glyphs',
'~/Library/Application Support/com.GeorgSeifert.Glyphs2',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.georgseifert.glyphs2.sfl*',
'~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/com.GeorgSeifert.Glyphs2.help*',
'~/Library/Preferences/com.GeorgSeifert.Glyphs2.plist',
]
end