Skip to content

Commit

Permalink
fix(nsis): do not remove non-empty menu directory
Browse files Browse the repository at this point in the history
Close #2381
  • Loading branch information
develar committed Jan 2, 2018
1 parent c050b52 commit df13706
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@
${if} $oldMenuDirectory != ""
!ifdef MENU_FILENAME
${if} $oldMenuDirectory != "${MENU_FILENAME}"
RMDir /r "$SMPROGRAMS\$oldMenuDirectory"
RMDir "$SMPROGRAMS\$oldMenuDirectory"
${endIf}
!else
RMDir /r "$SMPROGRAMS\$oldMenuDirectory"
RMDir "$SMPROGRAMS\$oldMenuDirectory"
!endif
${endIf}
!macroend
Expand Down

0 comments on commit df13706

Please sign in to comment.