diff options
author | Araq <rumpf_a@web.de> | 2014-11-03 00:57:31 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-11-03 00:57:31 +0100 |
commit | 621ead411062c1d3682a8b3414a970f12b43f7ac (patch) | |
tree | 2778853ed7458aaab5f787e436afd2f84b0956c4 | |
parent | be0fbdea655b43ba6118e3093aa21158cac6b635 (diff) | |
download | Nim-621ead411062c1d3682a8b3414a970f12b43f7ac.tar.gz |
only produce the link to the docs if they are installed
-rw-r--r-- | compiler/nimrod.ini | 2 | ||||
-rw-r--r-- | tools/niminst/nsis.tmpl | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/compiler/nimrod.ini b/compiler/nimrod.ini index ae1c6053f..7135b3490 100644 --- a/compiler/nimrod.ini +++ b/compiler/nimrod.ini @@ -126,7 +126,7 @@ Files: "start.bat" BinPath: r"bin;dist\mingw\bin;dist" ; Section | dir | zipFile | size hint (in KB) | url | exe start menu entry -Download: r"Documentation|doc|docs.zip|13824|http://nim-lang.org/download/docs-${version}.zip" +Download: r"Documentation|doc|docs.zip|13824|http://nim-lang.org/download/docs-${version}.zip|doc\overview.html" Download: r"C Compiler (MingW)|dist|mingw.zip|82944|http://nim-lang.org/download/${mingw}.zip" Download: r"Aporia IDE|dist|aporia.zip|97997|http://nim-lang.org/download/aporia-0.1.3.zip|aporia\bin\aporia.exe" ; for now only NSIS supports optional downloads diff --git a/tools/niminst/nsis.tmpl b/tools/niminst/nsis.tmpl index 1051b65e7..40e171d41 100644 --- a/tools/niminst/nsis.tmpl +++ b/tools/niminst/nsis.tmpl @@ -149,11 +149,6 @@ CreateShortCut "$DESKTOP\?{c.displayName}.lnk" "$INSTDIR\?{c.name}.exe" #end if - ; Add shortcuts for the documentation - #for f in items(c.cat[fcDocStart]): - CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\?{splitFile(f).name}.lnk" "$INSTDIR\?{f.toWin}" - #end for - ; Write the shortcut to the uninstaller CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk" "$INSTDIR\uninstaller.exe" !insertmacro MUI_STARTMENU_WRITE_END |