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 = {};