homebrew-cask/Casks/glyphs.rb

23 lines
930 B
Ruby

cask 'glyphs' do
version '2.6,1192'
sha256 '0edb2f2e03c3a42e8a3c8331b202118e0b9f0dfea29df3e9e6cc81063a1d48e8'
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
depends_on macos: '>= :mavericks'
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