refactor: 新增用户脚本服务器代码

This commit is contained in:
Quan
2025-11-08 21:30:18 +08:00
parent f72b163eb8
commit 1e5ffc1907
11 changed files with 148 additions and 19 deletions

View File

@@ -30,6 +30,7 @@ class Settings:
"author_archive": False, # 是否按作者归档
"write_mtime": False, # 是否写入修改时间
"language": "zh_CN", # 语言设置
"script_server": False, # 是否启用脚本服务器
}
# 根据操作系统设置编码格式
encode = "UTF-8-SIG" if system() == "Windows" else "UTF-8"