Commit e414514
fix: Electron 构建顺序与 portable 自动更新问题
- 调整 build:electron 脚本顺序:先 vite build 生成 dist 产物,再编译网关,
保证 webembed 嵌入的是最新前端资源
- 在 setupAutoUpdater() 中检测 PORTABLE_EXECUTABLE_DIR,portable 模式下
跳过自动更新检查,避免 NSIS 不支持的更新流程误导用户
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1facbd8 commit e414514
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
366 | 372 | | |
367 | 373 | | |
368 | 374 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments