mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 22:31:19 +00:00
tesseract: Drop 32bit & Update to version 5.3.1.20230401 (#4883)
This commit is contained in:
parent
d4e1c8a010
commit
12c9525aee
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "5.3.0.20221214",
|
||||
"version": "5.3.1.20230401",
|
||||
"description": "Open Source OCR Engine",
|
||||
"homepage": "https://github.com/UB-Mannheim/tesseract/wiki",
|
||||
"license": "Apache-2.0",
|
||||
@ -12,15 +12,21 @@
|
||||
},
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-v5.3.0.20221214.exe#/dl.7z_",
|
||||
"hash": "175a326853f87474132c284072a821dd819c63b707b01879b309f80bd6c0ab1e"
|
||||
},
|
||||
"32bit": {
|
||||
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w32-setup-v5.3.0.20221214.exe#/dl.7z_",
|
||||
"hash": "7683df36c38b2173a36e581a47f2143d342385b7c791db9b207c825152ad046e"
|
||||
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-5.3.1.20230401.exe#/dl.7z_",
|
||||
"hash": "ac0ce1748b83b993a5c3244d485303695b73ff1ccf0206a6a2ae44040e5a8ed4"
|
||||
}
|
||||
},
|
||||
"pre_install": "Expand-7zipArchive \"$dir\\dl.7z_\" \"$dir\" -Removal -Switches '-x!*.exe.nsis -x!$PLUGINSDIR'",
|
||||
"post_install": [
|
||||
"$langdir = versiondir tesseract-languages current $global",
|
||||
"if (Test-Path $langdir) {",
|
||||
" env \"TESSDATA_PREFIX\" $global $langdir",
|
||||
"}"
|
||||
],
|
||||
"env_set": {
|
||||
"SCROLLVIEW_PATH": "$persist_dir\\tessdata",
|
||||
"TESSDATA_PREFIX": "$persist_dir\\tessdata"
|
||||
},
|
||||
"bin": [
|
||||
"ambiguous_words.exe",
|
||||
"classifier_tester.exe",
|
||||
@ -39,28 +45,15 @@
|
||||
"unicharset_extractor.exe",
|
||||
"wordlist2dawg.exe"
|
||||
],
|
||||
"env_set": {
|
||||
"TESSDATA_PREFIX": "$persist_dir\\tessdata",
|
||||
"SCROLLVIEW_PATH": "$persist_dir\\tessdata"
|
||||
},
|
||||
"persist": "tessdata",
|
||||
"post_install": [
|
||||
"$langdir = versiondir tesseract-languages current $global",
|
||||
"if (Test-Path $langdir) {",
|
||||
" env \"TESSDATA_PREFIX\" $global $langdir",
|
||||
"}"
|
||||
],
|
||||
"checkver": {
|
||||
"url": "https://digi.bib.uni-mannheim.de/tesseract/?C=M;O=D",
|
||||
"regex": "tesseract-ocr-w32-setup-v([\\w.-]+)\\.exe"
|
||||
"regex": "tesseract-ocr-w64-setup-([\\d.]+)\\.exe"
|
||||
},
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-v$version.exe#/dl.7z_"
|
||||
},
|
||||
"32bit": {
|
||||
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w32-setup-v$version.exe#/dl.7z_"
|
||||
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-$version.exe#/dl.7z_"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user