M2Team / NanaZip

The 7-Zip derivative intended for the modern Windows experience
https://sourceforge.net/projects/nanazip/
Other
8.92k stars 224 forks source link

Merge NanaZip.{Console,Windows,Modern}.exe and drop DLL #490

Open Andarwinux opened 2 months ago

Andarwinux commented 2 months ago

24H2 added consoleAllocationPolicy, which finally solves the problem of programs that can be run as console or GUI applications, so it is now possible to merge NanaZip.{Console,Windows,Modern}.exe into one NanaZip.exe and statically link NanaZip.{Core,Codecs}.dll to improve performance. This feature will also be backported to Windows 10 2004 at a later date, so there is no need to worry about compatibility issues.

MouriNaruto commented 2 months ago

This feature will also be backported to Windows 10 2004 at a later date, so there is no need to worry about compatibility issues.

The Windows version compatibility levels for Nana series are selected from every Windows build baseline versions which is not patched any patches. So, it's still be worried unless we make the minimal system requirement to Windows 11 Version 24H2 or later.

statically link NanaZip.{Core,Codecs}.dll to improve performance

For maintaining the project easier (isolate 7-Zip mainline changes and NanaZip specific changes) and try to provide SDK, we need to make NanaZip.{Core,Codecs} to separate dynamic libraries.

Kenji Mouri

Andarwinux commented 2 months ago

Maybe consider add optional “modern” variant builds, I guess there's no chance of bumping the minimum OS requirements until NanaZip 4.0.