- stubs are no longer included in makensis but read from the Stubs directory
- new /SOLID switch for SetCompressor allows setting solid compression without recompiling makensis git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3945 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
c345108cc0
commit
9613c8988f
10 changed files with 157 additions and 211 deletions
|
@ -45,7 +45,6 @@ const char *NSIS_VERSION="v2.06";
|
|||
|
||||
#include "build.h"
|
||||
#include "util.h"
|
||||
#include "exedata.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -96,7 +95,16 @@ int main(int argc, char **argv)
|
|||
int in_files=0;
|
||||
#endif
|
||||
|
||||
build.setdirs(argv[0]);
|
||||
try
|
||||
{
|
||||
build.initialize(argv[0]);
|
||||
}
|
||||
catch (exception& err)
|
||||
{
|
||||
fprintf(g_output, "Error initalizing CEXEBuild: %s\n", err.what());
|
||||
fflush(g_output);
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (argc > 1 && !stricmp(argv[1], OPT_STR "VERSION"))
|
||||
{
|
||||
|
@ -243,9 +251,6 @@ int main(int argc, char **argv)
|
|||
{
|
||||
if (build.display_info)
|
||||
{
|
||||
fprintf(g_output,"Size of zlib EXE header is %d bytes.\n",zlib_exehead_size);
|
||||
fprintf(g_output,"Size of bzip2 EXE header is %d bytes.\n",bzip2_exehead_size);
|
||||
fprintf(g_output,"Size of lzma EXE header is %d bytes.\n",lzma_exehead_size);
|
||||
fprintf(g_output,"Size of first header is %d bytes.\n",sizeof(firstheader));
|
||||
fprintf(g_output,"Size of main header is %d bytes.\n",sizeof(header));
|
||||
fprintf(g_output,"Size of each section is %d bytes.\n",sizeof(section));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue