mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
handle IDEA_PROPERTIES environment variable in Windows launcher (IDEA-115231) [r=nicity]
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -332,6 +332,12 @@ void AddPredefinedVMOptions(std::vector<std::string>& vmOptionLines)
|
||||
while(pos < vmOptions.size() && vmOptions[pos] == ' ') pos++;
|
||||
vmOptions = vmOptions.substr(pos);
|
||||
}
|
||||
|
||||
char ideaProperties[_MAX_PATH];
|
||||
if (GetEnvironmentVariableA("IDEA_PROPERTIES", ideaProperties, _MAX_PATH-1))
|
||||
{
|
||||
vmOptionLines.push_back(std::string("-Didea.properties.file=") + ideaProperties);
|
||||
}
|
||||
}
|
||||
|
||||
bool LoadVMOptions()
|
||||
|
||||
Reference in New Issue
Block a user