homebrew-cask/Casks/nota.rb

26 lines
821 B
Ruby
Raw Normal View History

2020-11-27 09:23:20 +08:00
cask "nota" do
version "0.19.1"
sha256 "0dd82fc7348e8fca93bf3dc732d9861066d4ff84c64589dd657a4f7691a293cc"
2020-11-27 09:23:20 +08:00
2020-12-12 12:22:28 +08:00
url "https://github.com/notaapp/releases/releases/download/#{version}/Nota-#{version}-mac.zip",
verified: "github.com/notaapp/releases/"
2020-11-27 09:23:20 +08:00
appcast "https://github.com/notaapp/releases/releases.atom"
name "Nota"
desc "Markdown files editor"
homepage "https://nota.md/"
auto_updates true
app "Nota.app"
binary "#{appdir}/Nota.app/Contents/Resources/app.asar.unpacked/assets/nota.sh", target: "nota"
zap trash: [
"~/Library/Application Support/Nota",
"~/Library/Caches/md.nota.macos",
"~/Library/Caches/md.nota.macos.ShipIt",
"~/Library/Logs/Nota",
"~/Library/Preferences/md.nota.macos.plist",
"~/Library/Saved Application State/md.nota.macos.savedState",
]
end