Skip to content

Commit

Permalink
Compile NSIS with warnings ON
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Piolat committed Dec 19, 2023
1 parent a469903 commit 689659a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/dplug-build/source/main.d
Original file line number Diff line number Diff line change
Expand Up @@ -1808,10 +1808,8 @@ void generateWindowsInstaller(string outputDir,

std.file.write(nsisPath, cast(void[])content);



// run makensis on the generated WindowsInstaller.nsi with verbosity set to errors only
string makeNsiCommand = format("makensis.exe /V1 %s", nsisPath);
string makeNsiCommand = format("makensis.exe /V2 %s", nsisPath);
safeCommand(makeNsiCommand);
double sizeOfExe_mb = getSize(outExePath) / (1024.0*1024.0);
cwritefln(" => Build OK, binary size = %0.1f mb, available in %s\n".lgreen, sizeOfExe_mb, normalizedPath(outExePath));
Expand Down

0 comments on commit 689659a

Please sign in to comment.