feat: 故障推送 / 公需课自动重学 / 插件解耦,发版 v0.0.8

体检修复:启动日志不再打印 AUTH_TOKEN、密钥可清空、推送失败不占整段冷却、目录名与文案统一成 plugins/。
This commit is contained in:
study-tool
2026-11-01 17:47:22 +08:00
parent 491fd08c1e
commit aa48145557
114 changed files with 7779 additions and 3302 deletions
+2 -1
View File
@@ -4,12 +4,13 @@
真正的代码在 src/study_tool/ 包里,这里只把 src 加进 sys.path 再调 main(),
这样 `python app.py`、`start.bat`、Dockerfile 都不用改。
"""
import os
import sys
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "src"))
from study_tool.app import main # noqa: E402
from study_tool.app import main
if __name__ == "__main__":
main()