Update nsis.tmpl
This commit is contained in:
parent
72f4620b2a
commit
be0fbdea65
1 changed files with 3 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue