homebrew-cask/Casks/nota.rb

26 lines
821 B
Ruby

cask "nota" do
version "0.21.2"
sha256 "7eab19b4b68bef4080685a7e5d66140778ce1f6c0eb308040fdf004fe4568f13"
url "https://github.com/notaapp/releases/releases/download/#{version}/Nota-#{version}-mac.zip",
verified: "github.com/notaapp/releases/"
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