fix(electron): 修复生产环境后端路径问题并优化构建配置

调整 electron-builder 配置文件以正确处理打包路径
修复生产环境下后端服务路径问题
添加对开发工具中 Autofill 错误信息的过滤
更新构建脚本确保前端先构建
This commit is contained in:
dmy
2026-01-15 01:30:47 +08:00
parent 5a7cbc6daa
commit 0f510554ed
3 changed files with 30 additions and 8 deletions

View File

@@ -3,15 +3,18 @@
"appId": "com.bidding.app",
"directories": {
"output": "dist-electron",
"app": "./app"
"app": "."
},
"files": [
"app/**/*",
"dist/**/*",
"frontend/**/*",
"frontend/dist/**/*",
".env",
"node_modules/**/*",
"package.json",
"app/**/*"
"package.json"
],
"asarUnpack": [
"dist/**/*",
"node_modules/**/*"
],
"win": {
"target": "nsis",