Closed centigrade-kdk closed 2 years ago
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Electron-Builder does not include all files into the resource folder according to the
files
property atpackage.json: build->files
The Following minimal example does not include
dist/lib/abc.pyc
After some poking around, I found the reason for the exclusion: The following variable used as an exclusion pattern is the reason.
https://github.com/electron-userland/electron-builder/blob/72ffc25063fc6d8f67e941ed7fc3b5991efb5448/packages/app-builder-lib/src/fileMatcher.ts#L22
https://github.com/electron-userland/electron-builder/blob/72ffc25063fc6d8f67e941ed7fc3b5991efb5448/packages/app-builder-lib/src/fileMatcher.ts#L182
I think that hardcoded remove pattern for these extensions should not be part of electon-builder or the user should at least have the possibility to override this.