Update nsis.tmpl

This commit is contained in:
Varriount 2014-11-02 18:32:25 -05:00
commit be0fbdea65

View file

@ -204,16 +204,15 @@
abort abort
${EndIf} ${EndIf}
; Shortcuts
# if d.len >= 6: # if d.len >= 6:
# let startMenuEntry = d[5] # let startMenuEntry = d[5]
# let e = splitFile(startMenuEntry).name.capitalize # let e = splitFile(startMenuEntry).name.capitalize
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\?{e}.lnk" "$INSTDIR\?dir\?{startMenuEntry.toWin}"
# end if
; Shortcuts
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\?{e}.lnk" "$INSTDIR\?dir\?{startMenuEntry.toWin}" CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\?{e}.lnk" "$INSTDIR\?dir\?{startMenuEntry.toWin}"
!insertmacro MUI_STARTMENU_WRITE_END !insertmacro MUI_STARTMENU_WRITE_END
# end if
ignore: ignore:
SectionEnd SectionEnd
#end #end