homebrew-cask/Casks/supernotes.rb

28 lines
707 B
Ruby

cask "supernotes" do
version "2.3.1"
sha256 "767e0a778c0c030dac6783da0481197fca0d595bfd797b4eda01275a7e885c31"
url "https://download.supernotes.app/Supernotes-#{version}.dmg"
name "Supernotes"
desc "Collaborative note-taking app"
homepage "https://supernotes.app/"
livecheck do
url "https://api.supernotes.app/v1/"
strategy :json do |json|
json["version"]
end
end
auto_updates true
depends_on macos: ">= :el_capitan"
app "Supernotes.app"
zap trash: [
"~/Library/Application Support/Supernotes",
"~/Library/Preferences/app.supernotes.SupernotesDesktop.plist",
"~/Library/Saved Application State/app.supernotes.SupernotesDesktop.savedState",
]
end