phinze/homebrew-cask

View on GitHub
Casks/q/qownnotes.rb

Summary

Maintainability
A
0 mins
Test Coverage
cask "qownnotes" do
  version "24.9.2"
  sha256 "c5c728bce0f52179e998278096893fa573372fd40f1a856684b315116ebb99b4"

  url "https://github.com/pbek/QOwnNotes/releases/download/v#{version}/QOwnNotes.dmg",
      verified: "github.com/pbek/QOwnNotes/"
  name "QOwnNotes"
  desc "Plain-text file notepad and todo-list manager"
  homepage "https://www.qownnotes.org/"

  livecheck do
    url :url
    strategy :github_latest
  end

  auto_updates true
  depends_on macos: ">= :sierra"

  app "QOwnNotes.app"

  zap trash: [
    "~/Library/Preferences/com.pbe.QOwnNotes.plist",
    "~/Library/Saved Application State/com.PBE.QOwnNotes.savedState",
  ]

  caveats do
    requires_rosetta
  end
end