fix: 修复4个bug - cd路径、chcp乱码、窗口行数、拖拽路径引号

This commit is contained in:
2026-05-26 01:52:54 +08:00
parent 836ad20515
commit 401ecf702a
2 changed files with 4 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ def select_file() -> Optional[str]:
4. 循环直到用户输入有效路径或取消
"""
while True:
filepath = input("请输入PinMAP文件路径直接回车弹窗选择: ").strip()
filepath = input("请输入PinMAP文件路径直接回车弹窗选择: ").strip().strip('"\'')
if not filepath:
# 弹窗选择