Repository navigation
补齐 Windows 自动启动与服务保活 - #2
Open
Floatingdream3 wants to merge 2 commits into
Open
Floatingdream3 wants to merge 2 commits into
Floatingdream3 wants to merge 2 commits into
Conversation
Add silent Windows sign-in startup, identity-aware HTTP health checks, bounded crash recovery, per-project duplicate protection, configurable ports, rotating logs, and authenticated safe shutdown. Keep manual bridge and static hosting commands available. Include configuration documentation and 24 offline tests using synthetic data.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
README 描述了 Windows 自启与保活,但缺少对应文件,用户无法按文档配置。此修改补齐 keepalive.py、自启安装/卸载入口与 VBS 模板,提供 HTTP 服务身份检查、异常恢复、重复启动保护、可配置端口、日志轮转和带认证的安全停止;原有 Node 桥和手动静态网页运行方式保持可用。网页桥请求与数据恢复也会使用配置后的端口。
本地 Windows / Python 3.12.10 / Node.js 24.20.0 下,24 项离线测试全部通过,覆盖真实桥服务、进程崩溃、HTTP 异常、端口占用、并发启动、外部服务保护和安全退出。测试仅使用临时项目、合成数据与随机本地端口;已通过真实 Windows Script Host 验证中文/空格路径下的 VBS 启动、重复启动和卸载,未执行系统重启。Python 编译、JavaScript 语法与差异检查通过,并附 Windows/Linux 的自动化测试工作流。