mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-03 07:11:21 +00:00
tesseract: Fix hash, add post-install and fix hash in tesseract-languages (#54)
* tesseract: Add post-install and fix hash in tesseract-languages * Fix hash
This commit is contained in:
parent
3a8b51a621
commit
3b91c2aa70
@ -10,7 +10,7 @@
|
||||
],
|
||||
"hash": [
|
||||
"6551f6ac0c8d0f75b1dd0fb9bc005af6b8ecc564db711a0e3b33dad2c7c23dd3",
|
||||
"3af43a2420ce927dbce68474d644625947189a82ce6ae4fd32106399146819db",
|
||||
"8f660323d8a7b7a0e8d2fae1a3439e6e470222bfbb990b2ab7fe9e1fb4791c0b",
|
||||
"36f772980ff17c66a767f584a0d80bf2302a1afa585c01a226c1863afcea1392"
|
||||
],
|
||||
"extract_dir": "tessdata_fast-4.0.0",
|
||||
|
||||
@ -6,11 +6,11 @@
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-v4.1.0-elag2019.exe#/dl.7z",
|
||||
"hash": "e96a86a8f946908d35cc8ae83fb325eea8b570a7860655f622012dcc6ce3ec32"
|
||||
"hash": "75b8a8b8d458a01d675f9493a67b22225cc6f71b13c20e8337a155aa0b403510"
|
||||
},
|
||||
"32bit": {
|
||||
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w32-setup-v4.1.0-elag2019.exe#/dl.7z",
|
||||
"hash": "1cdd4db2db63c93036da32d64d653d4217cf5378bc39524ecabdc3ea1c52a7ba"
|
||||
"hash": "082cd4b852f512cff544721df109721188667f84c383782d6828e6cba844db4b"
|
||||
}
|
||||
},
|
||||
"bin": [
|
||||
@ -35,6 +35,12 @@
|
||||
"TESSDATA_PREFIX": "$persist_dir\\tessdata"
|
||||
},
|
||||
"persist": "tessdata",
|
||||
"post_install": [
|
||||
"$langdir = versiondir tesseract-languages current $global",
|
||||
"if (Test-Path $langdir) {",
|
||||
" env \"TESSDATA_PREFIX\" $global $langdir",
|
||||
"}"
|
||||
],
|
||||
"notes": [
|
||||
"Recognition data files can be installed via \"scoop install tesseract-languages\"",
|
||||
"or downloaded manually from https://github.com/tesseract-ocr/tessdata_fast"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user