summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-07-02 18:25:17 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-07-02 18:25:17 -0700
commitfe8c22a03ebc386a6867d591c780fb45a77d314a (patch)
treef973375f7d84a828db65b72e844a01d23b6368e6
parentb52dc0d27e494ebccbfde4ef01379699fc8f4299 (diff)
downloadtxr-fe8c22a03ebc386a6867d591c780fb45a77d314a.tar.gz
txr-fe8c22a03ebc386a6867d591c780fb45a77d314a.tar.bz2
txr-fe8c22a03ebc386a6867d591c780fb45a77d314a.zip
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.
-rw-r--r--inst.nsi5
1 files 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