From daa6d5fbe1e8255800104e34f13a75c98d06b156 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 2 Jul 2016 18:25:17 -0700 Subject: Add shortcut to txr.exe to start menu. * inst.nsi: the txr link now points to the executable rather than the directory. This is because the executable now does something meaningful: it brings up a console window with a working REPL. The link to the directory is renamed install-root. --- inst.nsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inst.nsi b/inst.nsi index 959969e6..a4b5df37 100644 --- a/inst.nsi +++ b/inst.nsi @@ -63,9 +63,10 @@ section "TXR" Delete /REBOOTOK $INSTDIR\txr\sh.exe WriteUninstaller $INSTDIR\txr\uninstall.exe CreateDirectory "$SMPROGRAMS\TXR" - CreateShortCut "$SMPROGRAMS\TXR\txr.lnk" "$INSTDIR\txr" + CreateShortCut "$SMPROGRAMS\TXR\txr.lnk" "$INSTDIR\txr\bin\txr.exe" CreateShortCut "$SMPROGRAMS\TXR\uninstall.lnk" "$INSTDIR\TXR\uninstall.exe" - CreateShortCut "$STARTMENU\txr.lnk" "$INSTDIR\TXR" + CreateShortCut "$SMPROGRAMS\TXR\install-root.lnk" "$INSTDIR\txr" + CreateShortCut "$STARTMENU\txr.lnk" "$INSTDIR\txr\bin\txr.exe" ${EnvVarUpdate} $0 "PATH" "A" "HKLM" "$INSTDIR\TXR\bin" sectionEnd -- cgit v1.2.3