diff --git a/bucket/zotero.json b/deprecated/zotero.json similarity index 97% rename from bucket/zotero.json rename to deprecated/zotero.json index d65333e4..81a8f915 100644 --- a/bucket/zotero.json +++ b/deprecated/zotero.json @@ -1,57 +1,57 @@ -{ - "version": "7.0.3", - "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/7.0.3/Zotero-7.0.3_x64_setup.exe#/dl.7z", - "hash": "54ad448ba4549a42f388db9293e56a7b0d7f26b81021d5d84b679f7fe2670957" - }, - "32bit": { - "url": "https://download.zotero.org/client/release/7.0.3/Zotero-7.0.3_win32_setup.exe#/dl.7z", - "hash": "e05f28786278acbf2fc2a610652638464eac110aa76428c06e95af5758565763" - } - }, - "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" - } - } - } -} +{ + "version": "7.0.3", + "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/7.0.3/Zotero-7.0.3_x64_setup.exe#/dl.7z", + "hash": "54ad448ba4549a42f388db9293e56a7b0d7f26b81021d5d84b679f7fe2670957" + }, + "32bit": { + "url": "https://download.zotero.org/client/release/7.0.3/Zotero-7.0.3_win32_setup.exe#/dl.7z", + "hash": "e05f28786278acbf2fc2a610652638464eac110aa76428c06e95af5758565763" + } + }, + "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" + } + } + } +}