Skip to content

Commit

Permalink
zotero: Update to 7.0.2, fix checkver
Browse files Browse the repository at this point in the history
  • Loading branch information
cscnk52 committed Aug 22, 2024
1 parent c2b58d6 commit e3577e2
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions bucket/zotero.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"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",
Expand All @@ -10,8 +10,16 @@
"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": [
Expand All @@ -37,10 +45,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"
}
}
}
}

0 comments on commit e3577e2

Please sign in to comment.