homebrew-cask/Casks/s/supernotes.rb

29 lines
741 B
Ruby

cask "supernotes" do
version "2.4.3"
sha256 "8fd95b2c550c295d300fe784bbeaed1e12f692112740c8de40bebf87f0b32a2a"
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: ">= :high_sierra"
app "Supernotes.app"
zap trash: [
"~/Library/Application Support/Supernotes",
"~/Library/Logs/Supernotes",
"~/Library/Preferences/app.supernotes.SupernotesDesktop.plist",
"~/Library/Saved Application State/app.supernotes.SupernotesDesktop.savedState",
]
end