From dc7e8b89cfb4fc59bcf7def0a1180e9832b65f11 Mon Sep 17 00:00:00 2001 From: unknown <2230247019@qq.com> Date: Sat, 9 Dec 2023 15:16:48 +0800 Subject: [PATCH] =?UTF-8?q?bat=E5=90=AF=E5=8A=A8=E8=84=9A=E6=9C=AC=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B7=A5=E4=BD=9C=E8=B7=AF=E5=BE=84=20(#261)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UmiOCR-data/RUN_CLI.bat | 4 ++-- UmiOCR-data/RUN_GUI.bat | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/UmiOCR-data/RUN_CLI.bat b/UmiOCR-data/RUN_CLI.bat index 8c4532da..3daf4594 100644 --- a/UmiOCR-data/RUN_CLI.bat +++ b/UmiOCR-data/RUN_CLI.bat @@ -1,2 +1,2 @@ -start "" runtime/python.exe main.py -pause \ No newline at end of file +cd /d "%~dp0" +start "" runtime/python.exe main.py \ No newline at end of file diff --git a/UmiOCR-data/RUN_GUI.bat b/UmiOCR-data/RUN_GUI.bat index df8eb052..afd5981e 100644 --- a/UmiOCR-data/RUN_GUI.bat +++ b/UmiOCR-data/RUN_GUI.bat @@ -1 +1,2 @@ +cd /d "%~dp0" start "" runtime/pythonw.exe main.py \ No newline at end of file