mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
28 lines
875 B
Ruby
28 lines
875 B
Ruby
cask "obsidian" do
|
|
version "1.5.8"
|
|
sha256 "e6894d98e2c4f40815532458f0fca550f19820c4be2a80c6de0d81302c927721"
|
|
|
|
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: ">= :high_sierra"
|
|
|
|
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
|