diff --git a/bucket/zotero.json b/bucket/zotero.json index 2ab67fb95914cc..5bb7cecbfc12fe 100644 --- a/bucket/zotero.json +++ b/bucket/zotero.json @@ -1,17 +1,18 @@ { - "version": "6.0.36", + "version": "7.0.2", "description": "Open-source reference management software to manage bibliographic data and related research materials.", "homepage": "https://www.zotero.org/", "license": "AGPL-3.0-only", - "notes": [ - "To register the 'zotero://' URL protocol, run:", - "$dir\\install-zotero-url-protocol.ps1", - "", - "To unregister the 'zotero://' URL protocol, run:", - "$dir\\uninstall-zotero-url-protocol.ps1" - ], - "url": "https://download.zotero.org/client/release/6.0.36/Zotero-6.0.36_setup.exe#/dl.7z", - "hash": "9fd9d3167653d2b18ec0c507b40da4ac21fc3400ca8c0a97753c4211c969736a", + "architecture": { + "64bit": { + "url": "https://download.zotero.org/client/release/7.0.2/Zotero-7.0.2_x64_setup.exe#/dl.7z", + "hash": "a7d895da80b5abd304797bb0783b654af00c64f87d7e86e1901fbab50a81331f" + }, + "32bit": { + "url": "https://download.zotero.org/client/release/7.0.2/Zotero-7.0.2_win32_setup.exe#/dl.7z", + "hash": "0ccb6c27755bb68c1c4f5ec3859bd409a9d9f9f4b0ff57fac3cc290e78570f59" + } + }, "extract_dir": "core", "bin": "zotero.exe", "shortcuts": [ @@ -37,10 +38,20 @@ "}" ], "checkver": { - "url": "https://www.zotero.org/download/client/update/5.0.0/_/WINNT_x86-msvc/en-US/release/_/update.xml", - "xpath": "/updates/update/@appVersion" + "script": [ + "try { $detail = Invoke-WebRequest 'https://www.zotero.org/download/client/dl?channel=release&platform=win-x64' -MaximumRedirection 0 -ErrorAction Ignore } catch { $_.Exception.Response }", + "return $detail.Headers.Location" + ], + "regex": "Zotero-([\\d.]+)" }, "autoupdate": { - "url": "https://download.zotero.org/client/release/$version/Zotero-$version_setup.exe#/dl.7z" + "architecture": { + "64bit": { + "url": "https://download.zotero.org/client/release/$version/Zotero-$version_x64_setup.exe#/dl.7z" + }, + "32bit": { + "url": "https://download.zotero.org/client/release/$version/Zotero-$version_win32_setup.exe#/dl.7z" + } + } } }