完善三平台安装包与服务控制流程

统一服务默认端口为 59188,完善 Windows 服务权限与 macOS LaunchAgent 管理。

实现 Windows 与 macOS 托盘状态机、服务启停等待、单实例保护、日志目录入口和退出前清理后台服务。

统一 Linux、Windows、macOS 与 Docker 的 Playwright Chromium runtime 构建流程,增加缓存、架构校验和 Linux 原生 runner,避免 QEMU。

完善 Windows、macOS、Linux 安装包及签名打包脚本,修正 Chromium 嵌入、服务注册和安装卸载流程。

同步 README、AGENTS、官网首页、Wiki 与前端开发文档,统一端口、初始化、服务、日志、托盘和安装说明。
This commit is contained in:
Christ committed 2026-08-12 20:53:53 +08:00
1 parent 94f4e070f6
commit 2df324647a
35 files changed
+1546 -214

No files matched your search

+3 -3
View File
@@ -45,12 +45,12 @@ services:
postgres:
condition: service_healthy
environment: *app-env
command: ["/app/xianyu-server", "-addr", ":8080"]
command: ["/app/xianyu-server", "-addr", ":59188"]
ports:
- "${XIANYU_BIND_ADDRESS:-0.0.0.0}:${XIANYU_HTTP_PORT:-8080}:8080"
- "${XIANYU_BIND_ADDRESS:-0.0.0.0}:${XIANYU_HTTP_PORT:-59188}:59188"
volumes: *app-volumes
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8080/health >/dev/null || exit 1"]
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:59188/health >/dev/null || exit 1"]
interval: 30s
timeout: 5s
retries: 5