@ytchuan/flowlink 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -4
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -18,7 +18,8 @@ app/
|
|
|
18
18
|
│ └── updater.js # 更新检查
|
|
19
19
|
├── scripts/ # 发布辅助脚本
|
|
20
20
|
│ ├── copy-ui.js # 发布前复制渲染层产物到包内
|
|
21
|
-
│
|
|
21
|
+
│ ├── manifest-electron.js # 切换 electron 依赖位置(保留兼容)
|
|
22
|
+
│ └── release.js # 发布脚本(处理 electron 依赖 + 调用 npm publish)
|
|
22
23
|
├── docs/ # 设计文档与 Agent 说明
|
|
23
24
|
└── package.json # 依赖与 electron-builder 打包配置
|
|
24
25
|
```
|
|
@@ -31,14 +32,25 @@ app/
|
|
|
31
32
|
|
|
32
33
|
## 用户安装与运行
|
|
33
34
|
|
|
34
|
-
### 前置注意事项
|
|
35
|
-
|
|
36
35
|
```bash
|
|
37
|
-
export ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/
|
|
38
36
|
npm install -g @ytchuan/flowlink
|
|
39
37
|
flowlink
|
|
40
38
|
```
|
|
41
39
|
|
|
40
|
+
> 首次安装会下载 Electron(~150MB),包内已配置国内镜像加速下载。
|
|
41
|
+
|
|
42
|
+
## 版本更新
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
npm update -g @ytchuan/flowlink
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## 卸载
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
npm uninstall -g @ytchuan/flowlink
|
|
52
|
+
```
|
|
53
|
+
|
|
42
54
|
## 注意事项
|
|
43
55
|
1. macOS 打包可能需要在「系统设置 > 隐私与安全性」中允许相关权限。
|
|
44
56
|
2. 本地调度服务端口默认为 `51173`,如果`51173`被占用时自动回退到 `51172`、`51171`。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ytchuan/flowlink",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "FlowLink 桌面客户端 - AI 服务调度与管理",
|
|
5
5
|
"main": "main.js",
|
|
6
6
|
"bin": {
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"services/",
|
|
14
14
|
"app-ui/dist/",
|
|
15
15
|
"assets/",
|
|
16
|
-
"resources/"
|
|
16
|
+
"resources/",
|
|
17
|
+
".npmrc"
|
|
17
18
|
],
|
|
18
19
|
"engines": {
|
|
19
20
|
"node": ">=22"
|
|
@@ -29,10 +30,9 @@
|
|
|
29
30
|
"build:win:portable": "npm run build:ui && electron-builder --win portable",
|
|
30
31
|
"build:mac": "npm run build:ui && electron-builder --mac",
|
|
31
32
|
"build:mac:zip": "npm run build:ui && electron-builder --mac zip",
|
|
32
|
-
"prepack": "npm run build:ui && node scripts/copy-ui.js
|
|
33
|
-
"
|
|
34
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
35
|
-
"release:publish": "npm version patch && npm publish"
|
|
33
|
+
"prepack": "npm run build:ui && node scripts/copy-ui.js",
|
|
34
|
+
"release": "node scripts/release.js",
|
|
35
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
36
36
|
},
|
|
37
37
|
"author": "ytchuan",
|
|
38
38
|
"license": "ISC",
|