Files
homebrew-cask/Casks/k/knotes.rb
Mike McQuaid aa461148bb Move all remaining casks to sharded subdirectories.
The migration of `orka.rb` and then `o*.rb` has worked well without
complaint so: let's move everything else, too.
2023-08-09 12:08:38 +01:00

26 lines
763 B
Ruby

cask "knotes" do
version "2.11.2"
sha256 "c78d19930c904ce19313c4ca981aa1141c9a7264a23fc3eb49aa7d3a5cb4e4b1"
url "https://knotes2.s3-ap-northeast-1.amazonaws.com/download/mac/Knotes-#{version}.dmg",
verified: "knotes2.s3-ap-northeast-1.amazonaws.com/"
name "Knotes"
desc "Reading notes management tool"
homepage "https://knotesapp.com/"
livecheck do
url :homepage
regex(%r{href=.*?/Knotes[._-]v?(\d+(?:\.\d+)+)\.dmg}i)
end
app "Knotes.app"
zap trash: [
"~/Library/Application Support/knotes",
"~/Library/Logs/knotes",
"~/Library/Preferences/com.knotesapp.knotes.helper.plist",
"~/Library/Preferences/com.knotesapp.knotes.plist",
"~/Library/Saved Application State/com.knotesapp.knotes.savedState",
]
end