mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix locale env vars on mac (IDEA-121713).
This commit is contained in:
+4
@@ -281,6 +281,10 @@ public class GeneralCommandLine implements UserDataHolder {
|
||||
environment.putAll(PlatformUtils.isAppCode() ? System.getenv() // Temporarily fix for OC-8606
|
||||
: EnvironmentUtil.getEnvironmentMap());
|
||||
}
|
||||
|
||||
if (PlatformUtils.isPyCharm()) { //We test the approach on snakes first. If it won't cause problems then apply for all (IDEA-118946)
|
||||
EncodingEnvironmentUtil.fixDefaultEncodingIfMac(this, null);
|
||||
}
|
||||
|
||||
if (!myEnvParams.isEmpty()) {
|
||||
if (SystemInfo.isWindows) {
|
||||
|
||||
Reference in New Issue
Block a user