homebrew-cask/Casks/joplin.rb

20 lines
764 B
Ruby

cask 'joplin' do
version '1.0.106'
sha256 '9b44d47d1e4378fb6b0c789ddaacec2404b8419b9e82aff110b73704ab9aa33e'
# github.com/laurent22/joplin was verified as official when first introduced to the cask
url "https://github.com/laurent22/joplin/releases/download/v#{version}/Joplin-#{version}.dmg"
appcast 'https://github.com/laurent22/joplin/releases.atom'
name 'Joplin'
homepage 'http://joplin.cozic.net/'
app 'Joplin.app'
zap trash: [
'~/Library/Application Support/Joplin',
'~/Library/Preferences/net.cozic.joplin-desktop.helper.plist',
'~/Library/Preferences/net.cozic.joplin-desktop.plist',
'~/Library/Saved Application State/net.cozic.joplin-desktop.savedState',
]
end