fix(service-party-app): 在 package.json 的 build 配置中添加 afterPack

问题:
- electron-builder 加载的是 package.json 的 build 字段
- 而不是单独的 electron-builder.json 文件
- 导致 afterPack hook 没有被执行

修复:
- 在 package.json 的 build 配置中添加 afterPack 引用

Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-29 11:20:35 -08:00
parent 072fbbad2c
commit b0a698250d
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@
},
"build": {
"appId": "com.durianqueen.green-points-account",
"afterPack": "./scripts/afterPack.js",
"productName": "榴莲皇后绿积分共管账户服务",
"directories": {
"buildResources": "resources",