Update NSIS installer.

This commit is contained in:
Calvin Rose 2019-05-29 12:51:50 -04:00
parent c6ac53f4be
commit be89d10004
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ OutFile "janet-installer.exe"
!define APPNAME "Janet"
!define DESCRIPTION "The Janet Programming Language"
!define HELPURL "http://janet-lang.org"
BrandingText "Janet Installer"
# MUI Configuration
!define MUI_ICON "assets\icon.ico"
@ -65,7 +66,7 @@ section "install"
writeUninstaller "$INSTDIR\uninstall.exe"
# Start Menu
createShortCut "$SMPROGRAMS\Janet.lnk" "$INSTDIR\janet.exe" "" "$INSTDIR\logo.ico"
createShortCut "$SMPROGRAMS\Janet.lnk" "$INSTDIR\bin\janet.exe" "" "$INSTDIR\logo.ico"
# HKLM (all users) vs HKCU (current user)
WriteRegExpandStr HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" JANET_PATH "$INSTDIR\Library"