fix(electron): 修复生产环境后端路径问题并优化构建配置
调整 electron-builder 配置文件以正确处理打包路径 修复生产环境下后端服务路径问题 添加对开发工具中 Autofill 错误信息的过滤 更新构建脚本确保前端先构建
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user