27 lines
731 B
Ruby
27 lines
731 B
Ruby
cask "zotero" do
|
|
version "5.0.96.3"
|
|
sha256 "72ca698334ce4f453271c9fa7fd01ed5592eadcf69095044bea7f9539ef5edb6"
|
|
|
|
url "https://download.zotero.org/client/release/#{version}/Zotero-#{version}.dmg"
|
|
name "Zotero"
|
|
desc "Collect, organize, cite, and share research sources"
|
|
homepage "https://www.zotero.org/"
|
|
|
|
livecheck do
|
|
url "https://www.zotero.org/download/"
|
|
strategy :page_match
|
|
regex(/standaloneVersions.*?"mac"\s*:\s*"(\d+(?:\.\d+)*)"/i)
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
app "Zotero.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/Zotero",
|
|
"~/Library/Caches/Zotero",
|
|
"~/Library/Preferences/org.zotero.zotero.plist",
|
|
"~/Library/Saved Application State/org.zotero.zotero.savedState",
|
|
]
|
|
end
|