fix(service-party-app): 将 tss-party 二进制文件打包进应用
- 添加 extraResources 配置将 bin/${platform}-${arch} 目录包含到打包资源中
- 修复打包后的应用找不到 tss-party.exe 导致 TSS 协议无法执行的问题
- 二进制文件会被复制到 resources/bin/ 目录
Generated with Claude Code
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
b48b59d946
commit
9b9f6f143e
|
|
@ -11,6 +11,13 @@
|
||||||
"dist/**/*",
|
"dist/**/*",
|
||||||
"dist-electron/**/*"
|
"dist-electron/**/*"
|
||||||
],
|
],
|
||||||
|
"extraResources": [
|
||||||
|
{
|
||||||
|
"from": "bin/${platform}-${arch}",
|
||||||
|
"to": "bin",
|
||||||
|
"filter": ["**/*"]
|
||||||
|
}
|
||||||
|
],
|
||||||
"extraMetadata": {
|
"extraMetadata": {
|
||||||
"main": "dist-electron/main.js"
|
"main": "dist-electron/main.js"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue