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:
parent
072fbbad2c
commit
b0a698250d
|
|
@ -61,6 +61,7 @@
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"appId": "com.durianqueen.green-points-account",
|
"appId": "com.durianqueen.green-points-account",
|
||||||
|
"afterPack": "./scripts/afterPack.js",
|
||||||
"productName": "榴莲皇后绿积分共管账户服务",
|
"productName": "榴莲皇后绿积分共管账户服务",
|
||||||
"directories": {
|
"directories": {
|
||||||
"buildResources": "resources",
|
"buildResources": "resources",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue