Repository navigation
完善 EasybotCE 双击启动、原版配置迁移与 Token 登录 - #2
Merged
Minecraft0122 merged 3 commits intoNov 7, 2026
Merged
Minecraft0122 merged 3 commits into
Minecraft0122 merged 3 commits into
Conversation
读取原版 appsettings.json 和 token.txt,WebUI/API 默认使用 5001,Bridge 配置默认使用 26991。 统一 Token 登录,移除用户名注册和独立 API Key;回环监听允许本机免登录,非本地监听支持 HTTP,首次生成的 12 位 Token 仅在控制台显示一次,后续沿用。会话有效期为 7 天,更换 Token 后重启会使旧会话失效。 按程序位置解析数据与网页资源目录,完善模块启动日志和 Windows 双击失败提示,统一 EasybotCE 页面标识,并修复 SQLite 管理写入与日志写入的锁冲突。 验证:Go 测试、go vet、前端构建、Windows 启动与 Token 登录/轮换、数据保留检查及 Linux 交叉编译通过。
增加 node build.mjs,统一完成前端依赖安装、页面构建、Go 编译和便携包打包。 便携包包含 easybotce 程序、默认启动配置、网页资源、许可证与中文使用说明。Windows 用户解压后可直接双击启动,无需安装开发工具或另行启动脚本。 CI 在 Windows 和 Linux 上执行 Go 检查、构建并上传便携包,同步使用与升级说明。 验证:Windows 便携包构建及解压运行通过;用户配置和运行数据不进入发布包。
增加中文贡献说明与开发协作约定,要求后续提交标题和正文使用中文,并通过 CI 检查新增提交标题。 明确复刻参考来源、真实功能状态与验证要求,更新 Token 登录流程和当前实现进度;保留既有英文提交历史。
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.
用户下载便携包并解压后,可直接双击 easybotce.exe 启动。支持沿用原版启动配置与登录 Token,简化首次运行和迁移操作。
主要变更
验证