Skip to content

Commit

Permalink
Fix paths in installer.nsh
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrej Mihajlov committed Aug 21, 2018
1 parent d19867a commit d2ce81f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dist-assets/windows/installer.nsh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
!include stdutils.nsh
!include winver.nsh

!addplugindir "${PROJECT_DIR}\windows\nsis-plugins\bin\Win32-Release"
!addplugindir "${BUILD_RESOURCES_DIR}\..\windows\nsis-plugins\bin\Win32-Release"

#
# NOTES
Expand Down Expand Up @@ -55,12 +55,12 @@
!macro ExtractDriver

SetOutPath "$TEMP\driver"
File "${PROJECT_DIR}\dist-assets\binaries\windows\driver\*"
File "${BUILD_RESOURCES_DIR}\binaries\windows\driver\*"

${If} ${IsWin7}
File "${PROJECT_DIR}\dist-assets\binaries\windows\driver\ndis5\*"
File "${BUILD_RESOURCES_DIR}\binaries\windows\driver\ndis5\*"
${Else}
File "${PROJECT_DIR}\dist-assets\binaries\windows\driver\ndis6\*"
File "${BUILD_RESOURCES_DIR}\binaries\windows\driver\ndis6\*"
${EndIf}

!macroend
Expand Down

0 comments on commit d2ce81f

Please sign in to comment.