feat: 统一 Commilitia Drop 全客户端命名与分发

This commit is contained in:
2026-07-31 22:56:10 +08:00
parent f7b0f04c9c
commit c480f0d1c2
77 changed files with 861 additions and 263 deletions
+22 -12
View File
@@ -1,19 +1,29 @@
# README
# Commilitia DropWails
## About
这是 Windows 与 macOS 当前唯一的正式桌面客户端。两个平台都复用仓库根目录 `web/`
的 React 前端;`frontend/src` 只保留为早期 Wails 桥接示例,不是可发布的第二套界面。
This is the official Wails Vanilla-TS template.
正式构建必须从仓库根目录运行:
You can configure the project by editing `wails.json`. More information about the project settings can be found
here: https://wails.io/docs/reference/project-config
```sh
just desktop-build-win
just desktop-build-mac
```
## Live Development
macOS 正式分发使用既有 Developer ID Application 证书和 ASC API Key
To run in live development mode, run `wails dev` in the project directory. This will run a Vite development
server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser
and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect
to this in your browser, and you can call your Go code from devtools.
```sh
just desktop-dist-mac
```
## Building
该任务会依次签名、公证并装订 `.app`,再生成、签名、公证和装订
`desktop/build/bin/Commilitia Drop.dmg`。Windows 当前输出未做 Authenticode 签名。
To build a redistributable, production mode package, use `wails build`.
macOS 构建仅支持 Apple Silicon(ARM64)。构建任务会先生成最新 Web 产物,再以
`wails build -clean` 打包,避免将陈旧前端或另一平台的旧产物混入发布目录。
`ios/CDrop` 中的原生 macOS target 仍是迁移候选,只供本地验证;在功能对等、三语界面、
签名扩展和真机验收全部完成前,不得代替或与本 Wails 客户端同时分发。
完整的全客户端构建、安装和验证步骤见
[`../docs/client-build-install.md`](../docs/client-build-install.md)。