cask 'joplin' do version '1.0.160' sha256 '6d5b092a4cfc40924d6c4502c0417950faefe62d7bab9068d46b6b4275147353' # 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 'https://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