mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
[#SPARK-743] Changes in the user.home directory
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@11096 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
committed by
michael.will
parent
eaab009e4b
commit
443c626a64
@ -40,7 +40,9 @@ import de.javasoft.plaf.synthetica.SyntheticaLookAndFeel;
|
||||
*/
|
||||
public final class Spark {
|
||||
|
||||
private static final String USER_SPARK_HOME = System.getProperties().getProperty("user.home") + "/" + getUserConf();
|
||||
private static final String USER_SPARK_HOME = System.getenv("APPDATA") != null && !System.getenv("APPDATA").equals("")
|
||||
? System.getenv("APPDATA") + "/" + getUserConf()
|
||||
: System.getProperties().getProperty("user.home") + "/" + getUserConf();
|
||||
|
||||
public static String ARGUMENTS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user