build: add Linux AppImage packaging
- Add reproducible linuxdeploy/appimagetool packaging script\n- Bundle Qt runtime, xcb/Wayland plugins, SQLite, TLS, and fcitx5 plugin\n- Add desktop icon, metadata, and direct-run AppImage\n- Fix release-mode scheduler warning and document Linux packaging
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
细粒度个人日程 + AI 自然语言排程 + 自部署多设备同步。
|
||||
|
||||
当前进度:**阶段 0–4 + 搜索 / 重复日程 / Windows 安装包 / 界面动画 + 桌面日程提醒 + Android 同步客户端 v1**。
|
||||
当前进度:**阶段 0–4 + 搜索 / 重复日程 / Windows 安装包 / Linux AppImage / 界面动画 + 桌面日程提醒 + Android 同步客户端 v1**。
|
||||
本地模型 50 条指令回归已完成:完整 49/50(98%),失败项 #42 单独复测通过。
|
||||
详细计划见 [`docs/PLAN.md`](docs/PLAN.md),验证记录见 [`docs/validation/`](docs/validation/)。
|
||||
|
||||
@@ -242,6 +242,22 @@ cmake --build --preset linux-gcc
|
||||
|
||||
安装包包含开始菜单项与桌面快捷方式,卸载信息写入 Windows 应用列表。
|
||||
|
||||
### Linux AppImage
|
||||
|
||||
可生成免安装的 AppImage:
|
||||
|
||||
```bash
|
||||
./scripts/package-linux-appimage.sh
|
||||
chmod +x dist/AI-Schedule-0.1.0-x86_64.AppImage
|
||||
./dist/AI-Schedule-0.1.0-x86_64.AppImage
|
||||
```
|
||||
|
||||
- 产物:`dist/AI-Schedule-0.1.0-x86_64.AppImage`(约 34 MB)。
|
||||
- 已打包 Qt 库、xcb/Wayland 平台插件、SQLite 驱动、TLS 和 fcitx5 输入法插件。
|
||||
- 无 FUSE 环境使用:`./dist/AI-Schedule-0.1.0-x86_64.AppImage --appimage-extract-and-run`。
|
||||
- 可用 `QT_ROOT` 覆盖 Qt 路径,`TOOLS_DIR` 指定已下载的 linuxdeploy/appimagetool。
|
||||
- 详细验证见 [`docs/validation/phase-4-3.md`](docs/validation/phase-4-3.md)。
|
||||
|
||||
### Windows 多设备联调
|
||||
|
||||
1. 在服务端机器启动 `go run ./cmd/server`(或 Docker),设置随机 `SYNC_TOKEN_PEPPER`。
|
||||
|
||||
Reference in New Issue
Block a user