Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
18
Src/installer/shared/scripts/log.nsh
Normal file
18
Src/installer/shared/scripts/log.nsh
Normal file
|
@ -0,0 +1,18 @@
|
|||
!ifndef NULLSOFT_NX_LOG_NSIS_HEADER
|
||||
!define NULLSOFT_NX_LOG_NSIS_HEADER
|
||||
|
||||
!macro NX_Log __string
|
||||
System::Call "Kernel32::OutputDebugStringW(t s)" `${__string}`
|
||||
!macroend
|
||||
|
||||
!define NX_Log "!insertmacro NX_Log"
|
||||
|
||||
!macro NX_DLog __string
|
||||
!ifdef _DEBUG
|
||||
${NX_Log} `${__string}`
|
||||
!endif
|
||||
!macroend
|
||||
|
||||
!define NX_DLog "!insertmacro NX_DLog"
|
||||
|
||||
!endif ;NULLSOFT_NX_LOG_NSIS_HEADER
|
Loading…
Add table
Add a link
Reference in a new issue