build: safe update of PATH on Windows (#3419)
NSIS has a default MAX_STR_LEN of 1024. If $ENV{PATH} is longer the returned string is truncated to an empty string. Its then not possible to distinguis between the variable not set or too long. As a result the variable is set with the location where geth and/or dev tools are installed. This may override any previous set values.
Showing
- build/ci.go 1 addition, 0 deletionsbuild/ci.go
- build/nsis.geth.nsi 5 additions, 0 deletionsbuild/nsis.geth.nsi
- build/nsis.install.nsh 3 additions, 2 deletionsbuild/nsis.install.nsh
- build/nsis.pathupdate.nsh 153 additions, 0 deletionsbuild/nsis.pathupdate.nsh
- build/nsis.uninstall.nsh 2 additions, 1 deletionbuild/nsis.uninstall.nsh
build/nsis.pathupdate.nsh
0 → 100644
Please register or sign in to comment