{ "version": "10.0.10", "description": "Open-source reference management software to manage bibliographic data and related research materials.", "homepage": "https://www.zotero.org/", "license": "AGPL-3.0-only", "architecture": { "64bit": { "url": "https://download.zotero.org/client/release/10.0.10/Zotero-10.0.10_x64_setup.exe#/dl.7z", "hash": "e26f719abf1d6a2eecd37cd9dad65e42430773c28a76ebe33a1b4ca0b789471e" }, "32bit": { "url": "https://download.zotero.org/client/release/10.0.10/Zotero-10.0.10_win32_setup.exe#/dl.7z", "hash": "442db7a350acccc6efbc8714343008e7d2841f9f3b0a7013fb37a0f0cef8cfb5" }, "arm64": { "url": "https://download.zotero.org/client/release/10.0.10/Zotero-10.0.10_arm64_setup.exe#/dl.7z", "hash": "3cc94bc6c19f520ec942ab15dcfb37de1ae2686e04192fc9db972c7301ba58fe" } }, "extract_dir": "core", "bin": "zotero.exe", "shortcuts": [ [ "zotero.exe", "Zotero" ] ], "post_install": [ "$scriptsDir = \"$bucketsdir\\extras\\scripts\"", "Get-ChildItem \"$scriptsDir\\zotero\\*.ps1\" | ForEach-Object {", " $content = Get-Content $_", " $content = $content.Replace('REPLACE_HERE', $dir)", " if ($global) { $content = $content.Replace('HKCU', 'HKLM') }", " Set-Content \"$dir\\$($_.Name)\" $content -Encoding 'utf8' -Force", "}" ], "pre_uninstall": [ "if ($cmd -eq 'uninstall') {", " Write-Host 'Unregistering the ''zotero://'' URL protocol...'", " Remove-Item 'HKCU:\\SOFTWARE\\Classes\\zotero', 'HKLM:\\SOFTWARE\\Classes\\zotero' -ErrorAction 'SilentlyContinue' -Recurse -Force", " Write-Host 'Done!'", "}" ], "checkver": { "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": { "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" }, "arm64": { "url": "https://download.zotero.org/client/release/$version/Zotero-$version_arm64_setup.exe#/dl.7z" } } } }