summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorVarriount <Varriount@users.noreply.github.com>2014-11-02 18:32:25 -0500
committerVarriount <Varriount@users.noreply.github.com>2014-11-02 18:32:25 -0500
commitbe0fbdea655b43ba6118e3093aa21158cac6b635 (patch)
treeb951be79d34099c1b45221bb7101f335e352bcef
parent72f4620b2adbf4170f841e38e05e531fd662c247 (diff)
downloadNim-be0fbdea655b43ba6118e3093aa21158cac6b635.tar.gz
Update nsis.tmpl
-rw-r--r--tools/niminst/nsis.tmpl7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/niminst/nsis.tmpl b/tools/niminst/nsis.tmpl
index e5f72fbc3..1051b65e7 100644
--- a/tools/niminst/nsis.tmpl
+++ b/tools/niminst/nsis.tmpl
@@ -204,16 +204,15 @@
       abort
     ${EndIf}
 
+    ; Shortcuts
     #  if d.len >= 6:
     #    let startMenuEntry = d[5]
     #    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
         CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\?{e}.lnk" "$INSTDIR\?dir\?{startMenuEntry.toWin}"
       !insertmacro MUI_STARTMENU_WRITE_END
+    #  end if
+    
     ignore:
   SectionEnd
   #end