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