diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-07-02 18:25:17 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-07-02 18:25:17 -0700 |
commit | fe8c22a03ebc386a6867d591c780fb45a77d314a (patch) | |
tree | f973375f7d84a828db65b72e844a01d23b6368e6 | |
parent | b52dc0d27e494ebccbfde4ef01379699fc8f4299 (diff) | |
download | txr-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.nsi | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |