Skip to content

Commit

Permalink
zotero: move to deprecated due to merged PR
Browse files Browse the repository at this point in the history
  • Loading branch information
cscnk52 committed Sep 4, 2024
1 parent 7c40f64 commit 8a1ec6b
Showing 1 changed file with 57 additions and 57 deletions.
114 changes: 57 additions & 57 deletions bucket/zotero.json → deprecated/zotero.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}

0 comments on commit 8a1ec6b

Please sign in to comment.