From f8eba465a91651728a0bf88c4bacdab64c9b77d7 Mon Sep 17 00:00:00 2001 From: RoyirinRosmontis Date: Mon, 31 Aug 2026 16:36:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=20-=20=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E4=B8=8D=E5=86=8D=E6=89=93=E5=8D=B0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=9B=AE=E5=BD=95=E8=B7=AF=E5=BE=84=EF=BC=9A?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E9=85=8D=E7=BD=AE=E5=8A=A0=E8=BD=BD=E4=B8=8E?= =?UTF-8?q?=E9=A6=96=E5=90=AF=E5=88=9B=E5=BB=BA=E6=8F=90=E7=A4=BA=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=20%LOCALAPPDATA%=20=E8=B7=AF=E5=BE=84=E5=B7=B2?= =?UTF-8?q?=E7=A7=BB=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lite/proxy_lite.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lite/proxy_lite.py b/lite/proxy_lite.py index 2a98423..233af7a 100644 --- a/lite/proxy_lite.py +++ b/lite/proxy_lite.py @@ -92,7 +92,7 @@ def _load_nodes(): _NODES = data if not _SELECTED_RESTORED: _restore_selected_node(_NODES) # 恢复上次使用的节点 - log(f"已加载节点配置: {len(_NODES)} 个 ({path})") + log(f"已加载节点配置: {len(_NODES)} 个") if data and not str(data[0].get("domain") or "").strip(): log_red("节点未填写域名:请配置 config.json 的 nodes_url 在线更新," "或使用 others/nodes_tool 导入节点配置") @@ -916,8 +916,8 @@ def _user_init_local(): "username": "", "password": "", "remark": ""}] (_USER_DIR / "nodes.json").write_bytes(_nodes_encrypt( json.dumps(template, ensure_ascii=False, indent=2) + "\n")) - log_red(f"已创建 {_USER_DIR / 'nodes.json'}(加密存储),请配置 config.json 的 " - f"nodes_url 在线更新,或使用 others/nodes_tool 导入节点配置") + log_red("已创建节点配置文件(加密存储),请配置 config.json 的 " + "nodes_url 在线更新,或使用 others/nodes_tool 导入节点配置") def _user_init_remote(base_url=None): """检查并更新 PAC 数据(后台线程):