homebrew-cask/Casks/o/obsidian.rb

28 lines
872 B
Ruby

cask "obsidian" do
version "1.6.3"
sha256 "a3910ba46f3698981c77d3e297a03df413cae87a1ad0e289264629c9f18947d2"
url "https://github.com/obsidianmd/obsidian-releases/releases/download/v#{version}/Obsidian-#{version}-universal.dmg",
verified: "github.com/obsidianmd/"
name "Obsidian"
desc "Knowledge base that works on top of a local folder of plain text Markdown files"
homepage "https://obsidian.md/"
livecheck do
url :url
strategy :github_latest
end
auto_updates true
depends_on macos: ">= :catalina"
app "Obsidian.app"
zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/md.obsidian.sfl*",
"~/Library/Application Support/obsidian",
"~/Library/Preferences/md.obsidian.plist",
"~/Library/Saved Application State/md.obsidian.savedState",
]
end