Skip to content

Commit

Permalink
Fix windows resource paths (node-js)
Browse files Browse the repository at this point in the history
  • Loading branch information
tadaskay committed Jul 20, 2022
1 parent bf7dfb2 commit fa871c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/nsis/customize.nsi
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
RequestExecutionLevel admin

!macro customInstall
File "/oname=$INSTDIR\resources\app.asar.unpacked\node_modules\@mysteriumnetwork\node\bin\windows\x64\wintun.dll" "${BUILD_RESOURCES_DIR}\nsis\wintun.dll"
File "/oname=$INSTDIR\resources\app.asar.unpacked\node_modules\@mysteriumnetwork\node\bin\win\x64\wintun.dll" "${BUILD_RESOURCES_DIR}\nsis\wintun.dll"

DetailPrint "Installing Supervisor service..."
nsExec::ExecToStack '"$INSTDIR\resources\app.asar.unpacked\node_modules\@mysteriumnetwork\node\bin\windows\x64\myst_supervisor.exe" --install --uid "0"'
nsExec::ExecToStack '"$INSTDIR\resources\app.asar.unpacked\node_modules\@mysteriumnetwork\node\bin\win\x64\myst_supervisor.exe" --install --uid "0"'
Pop $0
Pop $1
${ifNot} $0 == 0
Expand All @@ -15,7 +15,7 @@ RequestExecutionLevel admin
!macro customRemoveFiles

DetailPrint "Uninstalling supervisor service..."
nsExec::ExecToStack '"$INSTDIR\resources\app.asar.unpacked\node_modules\@mysteriumnetwork\node\bin\win32\x64\myst_supervisor.exe" --uninstall'
nsExec::ExecToStack '"$INSTDIR\resources\app.asar.unpacked\node_modules\@mysteriumnetwork\node\bin\win\x64\myst_supervisor.exe" --uninstall'
Pop $0
Pop $1
${ifNot} $0 == 0
Expand Down

0 comments on commit fa871c8

Please sign in to comment.