IDEA-136810 ($HOME/idea.properties lookup returned)
[idea/community.git] / platform / util / src / com / intellij / openapi / application / PathManager.java
index bc963277682a38acf351ee4f9a637109bfc5b276..f5fb7268c9a03ebaeb2607c31d331004c6a04102 100644 (file)
@@ -315,6 +315,7 @@ public class PathManager {
     String[] propFiles = {
       System.getProperty(PROPERTIES_FILE),
       getUserPropertiesPath(),
+      getUserHome() + "/idea.properties",
       getHomePath() + "/bin/idea.properties",
       getHomePath() + "/community/bin/idea.properties"};
 
@@ -359,7 +360,7 @@ public class PathManager {
       return platformPath(PATHS_SELECTOR, "Library/Preferences", /*"APPDATA", "XDG_CONFIG_HOME", ".config",*/ "") + "/idea.properties";
     }
     else {
-      return getUserHome() + "/idea.properties";
+      return null;
     }
   }