packager icon indicating copy to clipboard operation
packager copied to clipboard

Remove Electron Framework.framework unnessary language iproj

Open Innei opened this issue 1 year ago • 1 comments

Preflight Checklist

  • [x] I have read the contribution documentation for this project.
  • [x] I agree to follow the code of conduct that this project follows, as appropriate.
  • [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem Description

I want to delete unwanted language files. I found out how to delete the language file under Resource through this issue https://github.com/electron/forge/issues/2248. But I still don't know how to delete the language files of the framework. It is located under this location (macOS):

/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources

I don't need to use these language files, but they take up ~40M in size.

Proposed Solution

Provide a build parameter to set the language we need.

Alternatives Considered

N/A

Additional Information

Link https://github.com/electron/forge/issues/2248

Innei avatar Aug 12 '24 14:08 Innei

👋 Thanks for opening your first issue here! If you have a question about using Electron Packager, read the support docs. If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. Development and issue triage is community-driven, so please be patient and we will get back to you as soon as we can.

To help make it easier for us to investigate your issue, please follow the contributing guidelines.

welcome[bot] avatar Aug 12 '24 14:08 welcome[bot]