Preflight Checklist
Problem Description
I hope I can delete all .lproj files, because they seems useless (I'm using i18next npm package instead)
Proposed Solution
Follow https://ganeshrvel.medium.com/electron-builder-afterpack-configuration-5c2c986be665
But this won't call scripts/afterPack.js
"config": {
"forge": {
"packagerConfig": {
"icon": "build-resources/icon.icns",
"asar": {
"unpack": "**/.webpack/main/*.worker.*"
},
"extraResource": [
"localization",
"template/wiki"
],
"mac": {
"category": "productivity",
"target": "dmg",
"icon": "build-resources/icon.icns",
"electronLanguages": [
"zh_CN",
"en",
"ja"
]
},
"postPackage": "scripts/afterPack.js"
},
"makers": [
Alternatives Considered
Try other hooks likes afterCopy
Additional Information
I'm putting my own things into resources folder, and checking them is hard because there are too many annoying lproj files, and they are not related to my project.
Preflight Checklist
Problem Description
I hope I can delete all .lproj files, because they seems useless (I'm using i18next npm package instead)
Proposed Solution
Follow https://ganeshrvel.medium.com/electron-builder-afterpack-configuration-5c2c986be665
But this won't call
scripts/afterPack.jsAlternatives Considered
Try other hooks likes
afterCopyAdditional Information
I'm putting my own things into resources folder, and checking them is hard because there are too many annoying lproj files, and they are not related to my project.