mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Updating user home.
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@9024 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
@ -305,6 +305,14 @@ public final class Spark {
|
||||
return USER_SPARK_HOME;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the base user home.
|
||||
* @return the user home.
|
||||
*/
|
||||
public static String getUserHome(){
|
||||
return System.getProperties().getProperty("user.home");
|
||||
}
|
||||
|
||||
public static boolean isCustomBuild() {
|
||||
return "true".equals(Default.getString("CUSTOM"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user