homebrew-cask/Casks/joplin.rb

25 lines
741 B
Ruby

cask "joplin" do
version "2.6.10"
sha256 "070069abbf2160955422d520b3d9689c14d5e18589faabcc2fa5538f9338050e"
url "https://github.com/laurent22/joplin/releases/download/v#{version}/Joplin-#{version}.dmg",
verified: "github.com/laurent22/joplin/"
name "Joplin"
desc "Note taking and to-do application with synchronization capabilities"
homepage "https://joplinapp.org/"
livecheck do
url :url
strategy :github_latest
end
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