feat: 增加桌面端安装包与分支专用 CI/CD
拆分后台服务、浏览器安装器和桌面托盘控制器,支持 Windows Service、macOS LaunchAgent 以及 Linux systemd 部署。 新增 Windows Inno Setup 安装器、macOS Intel/Apple Silicon 通用 pkg、Linux 多架构安装脚本,并在安装过程中自动准备 Playwright Chromium。 新增仅 codex/desktop-packaging 分支触发的桌面端 CI/CD,覆盖 Go 测试、交叉编译和 Windows/macOS/Linux 安装包构建;保持现有 Docker 工作流不变。 补充数据密钥持久化、托盘图标、安装文档及相关测试。
This commit is contained in:
1 parent
1204655170
commit
a99ea5c20d
25 files changed
+1141
-81
No files matched your search
@@ -3,12 +3,20 @@
|
||||
GO ?= go
|
||||
GOLANGCI_LINT ?= golangci-lint
|
||||
|
||||
.PHONY: build build-int test test-int vet lint cover tidy frontend fmt check
|
||||
.PHONY: build build-int build-browser-install build-tray test test-int vet lint cover tidy frontend fmt check
|
||||
|
||||
## build: 编译 server(默认,跳过 integration build tag)
|
||||
build:
|
||||
$(GO) build ./cmd/server
|
||||
|
||||
## build-browser-install: 编译独立的 Chromium 安装辅助程序
|
||||
build-browser-install:
|
||||
$(GO) build ./cmd/browser-install
|
||||
|
||||
## build-tray: 编译 Windows/macOS 菜单栏控制器(需在目标桌面系统上编译)
|
||||
build-tray:
|
||||
$(GO) build ./cmd/tray
|
||||
|
||||
## build-int: 带 integration tag 编译(含 browser 包,需要 Chromium 环境)
|
||||
build-int:
|
||||
$(GO) build -tags integration ./...
|
||||
|
||||
Reference in new issue
Block a user