Files
Commilitia-Drop/desktop/README.md
T

30 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Commilitia DropWails
这是 Windows 与 macOS 当前唯一的正式桌面客户端。两个平台都复用仓库根目录 `web/`
的 React 前端;`frontend/src` 只保留为早期 Wails 桥接示例,不是可发布的第二套界面。
正式构建必须从仓库根目录运行:
```sh
just desktop-build-win
just desktop-build-mac
```
macOS 正式分发使用既有 Developer ID Application 证书和 ASC API Key
```sh
just desktop-dist-mac
```
该任务会依次签名、公证并装订 `.app`,再生成、签名、公证和装订
`desktop/build/bin/Commilitia Drop.dmg`。Windows 当前输出未做 Authenticode 签名。
macOS 构建仅支持 Apple Silicon(ARM64)。构建任务会先生成最新 Web 产物,再以
`wails build -clean` 打包,避免将陈旧前端或另一平台的旧产物混入发布目录。
`ios/CDrop` 中的原生 macOS target 仍是迁移候选,只供本地验证;在功能对等、三语界面、
签名扩展和真机验收全部完成前,不得代替或与本 Wails 客户端同时分发。
完整的全客户端构建、安装和验证步骤见
[`../docs/client-build-install.md`](../docs/client-build-install.md)。