From 8a1ec6bef9c7ba9f47932a33149af0a799c0bd66 Mon Sep 17 00:00:00 2001 From: cnk Date: Wed, 4 Sep 2024 17:46:26 +0800 Subject: [PATCH] zotero: move to deprecated due to merged PR https://github.com/ScoopInstaller/Extras/pull/13878 --- {bucket => deprecated}/zotero.json | 114 ++++++++++++++--------------- 1 file changed, 57 insertions(+), 57 deletions(-) rename {bucket => deprecated}/zotero.json (97%) 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" + } + } + } +}