From 9a4e2bba7982129b4c0f305482dac0d0e97dfb24 Mon Sep 17 00:00:00 2001 From: haosicheng Date: Tue, 14 Oct 2025 18:07:18 +0800 Subject: [PATCH] =?UTF-8?q?[patch]=20=E4=BF=AE=E6=94=B9=E6=89=93=E5=8C=85?= =?UTF-8?q?=E9=80=BB=E8=BE=91=20=E4=BC=98=E5=8C=96js=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=9B=A0=E7=8E=AF=E5=A2=83=E4=B8=8D=E5=85=BC=E5=AE=B9=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E5=A4=84=E7=90=86=E6=96=B9=E6=A1=88=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 6 +++--- static/js/dencode_message.js | 2 +- static/js/encode_message.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/main.py b/main.py index ca30f33..7dc40a9 100644 --- a/main.py +++ b/main.py @@ -15,10 +15,10 @@ import os # ===================== 文件日志系统 - 生产环境启用 ===================== # 重定向所有输出到文件,确保有日志记录 -# from exe_file_logger import setup_file_logging, log_to_file # 生产环境禁用 +from exe_file_logger import setup_file_logging, log_to_file # 开发环境启用 -# setup_file_logging() # 生产环境禁用 # 生产环境启用自动日志功能 -# print("文件日志系统已在main.py中初始化") # 生产环境禁用 +setup_file_logging() # 开发环境启用自动日志功能 +print("文件日志系统已在main.py中初始化") # 开发环境启用 # 新增: 版本更新信号类(用于线程安全的 GUI 通知) diff --git a/static/js/dencode_message.js b/static/js/dencode_message.js index bdf7139..b19d32b 100644 --- a/static/js/dencode_message.js +++ b/static/js/dencode_message.js @@ -1,4 +1,4 @@ -window = globalThis;; +window = globalThis; var CryptoJS = CryptoJS || (function (Math, undefined) { var C = {}; diff --git a/static/js/encode_message.js b/static/js/encode_message.js index 3a55ce8..5c90d3c 100644 --- a/static/js/encode_message.js +++ b/static/js/encode_message.js @@ -1,4 +1,4 @@ -window = globalThis;; +window = globalThis; var CryptoJS = CryptoJS || (function (Math, undefined) { var C = {};