diff --git a/bucket/umi-ocr.json b/bucket/umi-ocr.json index 345c26c12..2d2269929 100644 --- a/bucket/umi-ocr.json +++ b/bucket/umi-ocr.json @@ -2,14 +2,15 @@ "homepage": "https://github.com/hiroi-sora/Umi-OCR", "description": "OCR 批量图片转文字识别软件,带界面,离线运行。可排除图片中水印区域的干扰,提取干净的文本。基于 PaddleOCR。", "license": "MIT", - "version": "2.0.0", + "version": "2.0.1", "url": [ - "https://github.com/hiroi-sora/Umi-OCR/releases/download/release%2F2.0.0/Umi-OCR_Rapid_v2.0.0.7z.exe" + "https://github.com/hiroi-sora/Umi-OCR/releases/download/release%2F2.0.1/Umi-OCR_Rapid_v2.0.1.7z.exe" ], "hash": [ - "de850eb92c23306f57ad07eb9a35e5d11cba966de4f97d680c5f7e84febce921" + "b2e316ff3386ae9b62d45aefa5bc4a7e23319a61f64c4d3ccf37dee4d5af666f" ], - "extract_dir": "Umi-OCR_Rapid_v2.0.0", + "extract_dir": "Umi-OCR_Rapid_v2.0.1", + "pre_install": "if (!(Test-Path \"$persist_dir\\UmiOCR-data\\.pre_settings\")) { New-Item \"$dir\\UmiOCR-data\\.pre_settings\" -ItemType File | Out-Null }", "bin": "Umi-OCR.exe", "shortcuts": [ [ @@ -17,9 +18,9 @@ "Umi-OCR" ] ], - "persist": "Umi-OCR_config.json", + "persist": "UmiOCR-data\\.pre_settings", "checkver": "github", "autoupdate": { - "url": "https://github.com/hiroi-sora/Umi-OCR/releases/download/release%2Fv$version/Umi-OCR_Rapid_v$version.7z.exe" + "url": "https://github.com/hiroi-sora/Umi-OCR/releases/download/release%2F$version/Umi-OCR_Rapid_v$version.7z.exe" } }