Skip to content

Commit

Permalink
Merge pull request #13 from deiteris/main
Browse files Browse the repository at this point in the history
Fix shortcut working directory
  • Loading branch information
Eirenliel authored Oct 23, 2021
2 parents 6eceb46 + be659eb commit 7d056cd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions windows/web/slimevr_web_installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,11 @@ FunctionEnd

Function endPageLeave

${NSD_GetState} $CREATE_DESKTOP_SHORTCUT $0
${NSD_GetState} $CREATE_STARTMENU_SHORTCUTS $1
${NSD_GetState} $OPEN_DOCUMENTATION $2
SetOutPath $INSTDIR

${NSD_GetState} $CREATE_DESKTOP_SHORTCUT $0
${NSD_GetState} $CREATE_STARTMENU_SHORTCUTS $1
${NSD_GetState} $OPEN_DOCUMENTATION $2

${If} $0 = 1
CreateDirectory "$SMPROGRAMS\SlimeVR Server"
Expand Down

0 comments on commit 7d056cd

Please sign in to comment.