refactor(desktop): 替换 WebUI 为 Electron + electron-vite 桌面壳方案
- 使用 electron-vite 构建 main/preload,electron-builder 打包分发 - main process: dev 模式直连 localhost:3000,生产模式 spawn sidecar binary - 添加 loading 页面,server 就绪前显示加载动画 - 更新 catalog 依赖: electron, electron-vite, electron-builder - 移除 @webui-dev/bun-webui 依赖
This commit is contained in:
11
apps/desktop/.gitignore
vendored
11
apps/desktop/.gitignore
vendored
@@ -1,4 +1,7 @@
|
||||
# WebUI native libraries (auto-downloaded)
|
||||
*.dll
|
||||
*.so
|
||||
*.dylib
|
||||
# Electron-vite build output
|
||||
out/
|
||||
dist/
|
||||
|
||||
# Sidecar binary (copied from apps/server build)
|
||||
resources/server
|
||||
resources/server.exe
|
||||
|
||||
Reference in New Issue
Block a user