Added IfShellVarContextAll and refactored flag instructions generation

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7152 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2020-03-10 01:44:23 +00:00
parent fc15c72cdd
commit 5887d6c60d
7 changed files with 69 additions and 81 deletions

View file

@ -335,6 +335,11 @@
!macroend
!define Silent `"" Silent ""`
!macro _ShellVarContextAll _a _b _t _f
IfShellVarContextAll `${_t}` `${_f}`
!macroend
!define ShellVarContextAll `"" ShellVarContextAll ""`
; "Any instruction" test
!macro _Cmd _a _b _t _f
!define _t=${_t}