winlauncher: updated PATH modification order: jbr folders and then current PATH

GitOrigin-RevId: 405c7644e51a86fc0898d0a2c563075214f364e5
This commit is contained in:
Vladimir.Orlov
2019-07-02 06:52:16 +03:00
committed by intellij-monorepo-bot
parent 6b6090c7c3
commit 1638f21c5d
@@ -586,7 +586,7 @@ bool LoadVMOptions()
if (pathSizeWithoutTerminator)
{
std::string path = std::string(pathEnvVar.data()) + ";" + binDirs;
std::string path = binDirs + ";" + std::string(pathEnvVar.data());
SetEnvironmentVariableA("PATH", path.c_str());
}
vmOptionLines.push_back(std::string("-Djava.library.path=") + binDirs);