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:
hailin 2025-12-29 11:10:38 -08:00
parent b48b59d946
commit 9b9f6f143e
1 changed files with 7 additions and 0 deletions

View File

@ -11,6 +11,13 @@
"dist/**/*",
"dist-electron/**/*"
],
"extraResources": [
{
"from": "bin/${platform}-${arch}",
"to": "bin",
"filter": ["**/*"]
}
],
"extraMetadata": {
"main": "dist-electron/main.js"
},