-
-
Notifications
You must be signed in to change notification settings - Fork 606
Closed
Labels
Description
Preflight Checklist
- I have read the contribution documentation for this project.
- I agree to follow the code of conduct that this project follows, as appropriate.
- I have searched the issue tracker for a feature request that matches the one I want to file, without success.
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.