Skip to content

Commit 9c44653

Browse files
committed
e
1 parent 2dacb6e commit 9c44653

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

installer/installer.nsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ StrCpy $1 "$INSTDIR"
2424
StrCpy $0 "$1"
2525
${EndIf}
2626

27+
WriteRegStr HKCU "Environment" "Path" "$0"
2728
System::Call 'User32::SendMessageTimeout(i 0xffff, i ${WM_SETTINGCHANGE}, i 0, t "Environment", i 0x0002, i 5000, *i .r0)'
2829
MessageBox MB_OK "Installation complete. Please restart any running programs for PATH changes to apply."
2930
SectionEnd

0 commit comments

Comments
 (0)