fix(desktop): 加载 loading 页面作为启动屏,配置平台级 extraResources 对接交叉编译

- main process 启动时先加载 renderer/index.html 显示 spinner
- electron-builder 按平台引用 server/out/ 下对应架构的 sidecar binary
- 移除 mise.toml 中无关的 rust 工具配置
This commit is contained in:
2026-02-08 18:21:40 +08:00
parent 7318600e20
commit 888f20fdab
2 changed files with 14 additions and 5 deletions

View File

@@ -9,15 +9,13 @@ files:
- '!{.env,.env.*,bun.lock}'
- '!{tsconfig.json,tsconfig.node.json}'
- '!{AGENTS.md,README.md,CHANGELOG.md}'
extraResources:
- from: resources/
to: .
filter:
- '**/*'
asarUnpack:
- resources/**
win:
executableName: Furtherverse
extraResources:
- from: ../server/out/server-windows-x64.exe
to: server.exe
nsis:
artifactName: ${name}-${version}-setup.${ext}
shortcutName: ${productName}
@@ -25,6 +23,9 @@ nsis:
createDesktopShortcut: always
mac:
category: public.app-category.productivity
extraResources:
- from: ../server/out/server-darwin-arm64
to: server
dmg:
artifactName: ${name}-${version}.${ext}
linux:
@@ -33,6 +34,9 @@ linux:
- deb
maintainer: furtherverse.com
category: Utility
extraResources:
- from: ../server/out/server-linux-x64
to: server
appImage:
artifactName: ${name}-${version}.${ext}
npmRebuild: false