|
|
|
|
@ -33,7 +33,8 @@ public static void main(String[] args)
|
|
|
|
|
/**
|
|
|
|
|
* Check whether default config folder exists.
|
|
|
|
|
* If it exists we use it. Otherwise use the settings coming
|
|
|
|
|
* from system properties.
|
|
|
|
|
* from system properties. And set SC_HOME_DIR_LOCATION
|
|
|
|
|
* as we cannot set it when building dmg packet.
|
|
|
|
|
* This is done cause moving the config folder and preventing
|
|
|
|
|
* not using existing data for users already using default folder.
|
|
|
|
|
*/
|
|
|
|
|
@ -53,6 +54,12 @@ public static void main(String[] args)
|
|
|
|
|
System.setProperty("net.java.sip.communicator.SC_HOME_DIR_NAME",
|
|
|
|
|
scDefultDirName);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
System.setProperty("net.java.sip.communicator.SC_HOME_DIR_LOCATION",
|
|
|
|
|
System.getProperty("user.home") + File.separator +
|
|
|
|
|
"Library" + File.separator + "Application Support");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (version.startsWith("1.4") || vmVendor.startsWith("Gnu"))
|
|
|
|
|
|