chore(desktop): 补充 author/homepage 元数据(deb 打包需要)

This commit is contained in:
2026-10-14 09:55:06 +08:00
parent 4cff8ca4d0
commit 23073abf7e
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -34,6 +34,8 @@ npm run dist:mac # dmg + zip(必须在 macOS 上构建)
## 跨平台注意事项
- `package.json` 的 `author` / `homepage` 为占位值,发布前请替换为真实作者与主页(deb 等安装包会写入这些元数据)。
- **macOS 安装包必须在 macOS 机器上构建**(或 macOS CI);Linux 无法产出 dmg。
- **Windows 可从 Linux 交叉打包**,个别步骤(图标/rcedit)可能依赖 wine;更稳的方式是用 CI 三平台矩阵产出。
- 应用图标:`build/icon.png`(512×512,PNG)。electron-builder 会据此自动派生 `.ico`/`.icns`;未提供时使用默认 Electron 图标。
+2
View File
@@ -2,6 +2,8 @@
"name": "plantai-desktop",
"version": "0.1.0",
"description": "海古纪 PlantAI 桌面端(Electron 瘦客户端,前端 ui/ + 可配置后端反代)",
"author": "Haiguji",
"homepage": "https://github.com/haiguji/PlantAI-rag-new",
"private": true,
"main": "main.js",
"scripts": {