From c586f425ebe10bdc6feff85f2375cbc3965d26da Mon Sep 17 00:00:00 2001 From: MistEO Date: Thu, 1 Dec 2022 19:11:46 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=88=A0=E9=99=A4=E8=BF=87=E6=97=B6?= =?UTF-8?q?=E7=9A=84=E6=89=93=E5=8C=85=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-definition.json | 24 +------------------ .../Config/Miscellaneous/OcrPack.cpp | 2 +- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/package-definition.json b/package-definition.json index fc1f2cad11..4bf3a22f5b 100644 --- a/package-definition.json +++ b/package-definition.json @@ -8,26 +8,6 @@ ] } }, - { - "name_template": "MAAComponent-OTA-{VERSION}-win-x64", - "type": "MaaBundleOta", - "configuration": { - "include": [ - "resource/**", - "MeoAssistant.dll", - "MeoAsstGui.exe", - "ON.dll", - "onnxruntime.dll", - "onnxruntime_providers_shared.dll", - "paddle2onnx.dll", - "yaml-cpp.dll" - ], - "exclude": [ - "**/PaddleOCR/**", - "**/PaddleCharOCR/**" - ] - } - }, { "name_template": "MAAComponent-Core-{VERSION}-win-x64", "type": "MaaCore", @@ -42,11 +22,9 @@ "type": "MaaDependency", "configuration": { "include": [ - "ON.dll", + "fastdeploy.dll", "onnxruntime.dll", - "onnxruntime_providers_shared.dll", "paddle2onnx.dll", - "yaml-cpp.dll", "opencv_world453.dll", "**/PaddleOCR/**", "**/PaddleCharOCR/**" diff --git a/src/MeoAssistant/Config/Miscellaneous/OcrPack.cpp b/src/MeoAssistant/Config/Miscellaneous/OcrPack.cpp index b61d01e21f..29005f3cf9 100644 --- a/src/MeoAssistant/Config/Miscellaneous/OcrPack.cpp +++ b/src/MeoAssistant/Config/Miscellaneous/OcrPack.cpp @@ -70,7 +70,7 @@ bool asst::OcrPack::load(const std::filesystem::path& path) m_ocr_option->UsePaddleInferBackend(); break; default: - Log.error("Unknown OCR Backend"); + Log.error("Unknown OCR Backend", m_backend); return false; }