From 401ecf702abc64acc9d699ce5fe1f02a4f18dfd6 Mon Sep 17 00:00:00 2001 From: Agent Date: Tue, 26 May 2026 01:52:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D4=E4=B8=AAbug=20-=20cd?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E3=80=81chcp=E4=B9=B1=E7=A0=81=E3=80=81?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E8=A1=8C=E6=95=B0=E3=80=81=E6=8B=96=E6=8B=BD?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E5=BC=95=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Code/src/file_selector.py | 2 +- run.bat | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Code/src/file_selector.py b/Code/src/file_selector.py index a953392..2838339 100644 --- a/Code/src/file_selector.py +++ b/Code/src/file_selector.py @@ -48,7 +48,7 @@ def select_file() -> Optional[str]: 4. 循环直到用户输入有效路径或取消 """ while True: - filepath = input("请输入PinMAP文件路径(直接回车弹窗选择): ").strip() + filepath = input("请输入PinMAP文件路径(直接回车弹窗选择): ").strip().strip('"\'') if not filepath: # 弹窗选择 diff --git a/run.bat b/run.bat index d535d4c..1723b34 100644 --- a/run.bat +++ b/run.bat @@ -1,12 +1,12 @@ @ECHO OFF :: 初始化区 -chcp 65001 +chcp 65001 >nul title PinMAP转PinList -By:LeeQwQ -mode con cols=80 lines=20 +mode con cols=80 lines=50 color 0B cls -cd /d "%~dp0src" +cd /d "%~dp0Code\src" python main.py echo.