Update nsis.tmpl
Fix adding the mingw binary to the path variable
This commit is contained in:
parent
d482051710
commit
d5b94390dc
1 changed files with 2 additions and 0 deletions
|
|
@ -162,6 +162,7 @@
|
||||||
; Section for adding tools to the PATH variable
|
; Section for adding tools to the PATH variable
|
||||||
Section "Setup Path Environment" PathSection
|
Section "Setup Path Environment" PathSection
|
||||||
${EnvVarUpdate} $R0 "PATH" "A" "HKCU" "$INSTDIR\dist\mingw"
|
${EnvVarUpdate} $R0 "PATH" "A" "HKCU" "$INSTDIR\dist\mingw"
|
||||||
|
${EnvVarUpdate} $R0 "PATH" "A" "HKCU" "$INSTDIR\dist\mingw\bin"
|
||||||
${EnvVarUpdate} $R0 "PATH" "A" "HKCU" "$INSTDIR\bin"
|
${EnvVarUpdate} $R0 "PATH" "A" "HKCU" "$INSTDIR\bin"
|
||||||
${EnvVarUpdate} $R0 "PATH" "A" "HKCU" "$INSTDIR\dist\babel"
|
${EnvVarUpdate} $R0 "PATH" "A" "HKCU" "$INSTDIR\dist\babel"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
@ -248,6 +249,7 @@
|
||||||
|
|
||||||
; Remove entries from the PATH environment variable
|
; Remove entries from the PATH environment variable
|
||||||
${un.EnvVarUpdate} $R0 "PATH" "R" "HKCU" "$INSTDIR\dist\mingw"
|
${un.EnvVarUpdate} $R0 "PATH" "R" "HKCU" "$INSTDIR\dist\mingw"
|
||||||
|
${un.EnvVarUpdate} $R0 "PATH" "R" "HKCU" "$INSTDIR\dist\mingw\bin"
|
||||||
${un.EnvVarUpdate} $R0 "PATH" "R" "HKCU" "$INSTDIR\bin"
|
${un.EnvVarUpdate} $R0 "PATH" "R" "HKCU" "$INSTDIR\bin"
|
||||||
${un.EnvVarUpdate} $R0 "PATH" "R" "HKCU" "$INSTDIR\dist\babel"
|
${un.EnvVarUpdate} $R0 "PATH" "R" "HKCU" "$INSTDIR\dist\babel"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue