mirror of
https://github.com/Nuitka/Nuitka.git
synced 2026-10-17 03:50:32 +02:00
* A new "overlay" resource mode attaches the onefile payload to the end of the executable file rather than embedding it as a constant blob. It is used automatically on Windows when the embedded data would exceed the size limit of the PE file format, and can be requested with the hidden "--onefile-resource-mode=overlay" or "--resource-mode=overlay" options, or via the "NUITKA_ONEFILE_RESOURCE_MODE" and "NUITKA_RESOURCE_MODE" environment variables. * The onefile bootstrap memory maps its own executable file and determines the end of the attached payload from the file size, adjusted for the certificate table that code signing places after it, and unpacks the payload from there. * For now "overlay" works only on Windows, and only for the onefile mode where we need it.