28 lines
862 B
Ruby
28 lines
862 B
Ruby
cask "joplin" do
|
|
arch arm: "-arm64"
|
|
|
|
version "2.14.22"
|
|
sha256 arm: "aefb0867b74e23dff21f403ed7592c11251dce76b0701401c30c02a1661eff80",
|
|
intel: "0e626e683a88a74569b58c9d26a6a72e278e2c4dc97646395a5b3475bf893eb1"
|
|
|
|
url "https://github.com/laurent22/joplin/releases/download/v#{version}/Joplin-#{version}#{arch}.DMG",
|
|
verified: "github.com/laurent22/joplin/"
|
|
name "Joplin"
|
|
desc "Note taking and to-do application with synchronisation 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
|