#1977885: adding !finalize preprocessor commands for post-build execution
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6103 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
487e37ffb7
commit
51a7c3d647
5 changed files with 28 additions and 1 deletions
|
@ -2960,6 +2960,12 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
SCRIPT_MSG(_T("!packhdr: filename=\"%s\", command=\"%s\"\n"),
|
||||
build_packname, build_packcmd);
|
||||
return PS_OK;
|
||||
case TOK_P_FINALIZE:
|
||||
if (postbuild_cmd[0])
|
||||
warning_fl(_T("Several !finalize instructions encountered. Only last one was executed"));
|
||||
_tcsnccpy(postbuild_cmd,line.gettoken_str(1),COUNTOF(postbuild_cmd)-1);
|
||||
SCRIPT_MSG(_T("!finalize: \"%s\"\n"),postbuild_cmd);
|
||||
return PS_OK;
|
||||
case TOK_P_SYSTEMEXEC:
|
||||
{
|
||||
TCHAR *exec=line.gettoken_str(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue