diff options
Diffstat (limited to 'xmake/scripts')
| -rw-r--r-- | xmake/scripts/xpack/nsis/makensis.nsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xmake/scripts/xpack/nsis/makensis.nsi b/xmake/scripts/xpack/nsis/makensis.nsi index 3b79361bd..5d1a99dc0 100644 --- a/xmake/scripts/xpack/nsis/makensis.nsi +++ b/xmake/scripts/xpack/nsis/makensis.nsi @@ -185,7 +185,11 @@ Function .onInit ${EndIf} ; get binary directory +!if "${PACKAGE_BINDIR}" == "." + StrCpy $BinDir "$InstDir" +!else StrCpy $BinDir "$InstDir\${PACKAGE_BINDIR}" +!endif FunctionEnd @@ -273,7 +277,11 @@ Function un.onInit ${EndIf} ; get binary directory +!if "${PACKAGE_BINDIR}" == "." + StrCpy $BinDir "$InstDir" +!else StrCpy $BinDir "$InstDir\${PACKAGE_BINDIR}" +!endif FunctionEnd |
