|
@@ -148,7 +148,7 @@ public class LoadController {
|
|
|
private void forwardFiles(File folder, String trim) throws IOException {
|
|
|
// TODO Auto-generated method stub
|
|
|
for (File file : folder.listFiles()) {
|
|
|
- File dst = new File(System.getProperty("user.home") + "/HolonGUI/" + file.getPath().replace(trim, ""));
|
|
|
+ File dst = new File(System.getProperty("user.home") + "/.config/HolonGUI/" + file.getPath().replace(trim, ""));
|
|
|
|
|
|
if (file.getName().contains(".json"))
|
|
|
readJson(file.getPath());
|
|
@@ -293,7 +293,7 @@ public class LoadController {
|
|
|
// TODO Auto-generated method stub
|
|
|
if (!image.contains("/HolonGUI/"))
|
|
|
return image;
|
|
|
- return (System.getProperty("user.home") + image.substring(image.indexOf("/HolonGUI/"), image.length()))
|
|
|
+ return (System.getProperty("user.home") + "/.config" + image.substring(image.indexOf("/HolonGUI/"), image.length()))
|
|
|
.replace("\\", "/");
|
|
|
}
|
|
|
|
|
@@ -525,18 +525,18 @@ public class LoadController {
|
|
|
|
|
|
if (os.contains("windows")) {
|
|
|
ret = ret.replace("/", "\\");
|
|
|
- ret = System.getProperty("user.home") + ret.substring(ret.indexOf("\\HolonGUI\\"), ret.length());
|
|
|
+ ret = System.getProperty("user.home") + "\\.config" + ret.substring(ret.indexOf("\\HolonGUI\\"), ret.length());
|
|
|
|
|
|
}
|
|
|
if (os.contains("mac")) {
|
|
|
// dosmth
|
|
|
ret = ret.replace("\\", "/");
|
|
|
- ret = System.getProperty("user.home") + ret.substring(ret.indexOf("/HolonGUI/"), ret.length());
|
|
|
+ ret = System.getProperty("user.home") + "/.config" + ret.substring(ret.indexOf("/HolonGUI/"), ret.length());
|
|
|
}
|
|
|
if (os.contains("linux")) {
|
|
|
// dosmth
|
|
|
ret = ret.replace("\\", "/");
|
|
|
- ret = System.getProperty("user.home") + ret.substring(ret.indexOf("/HolonGUI/"), ret.length());
|
|
|
+ ret = System.getProperty("user.home") + "/.config" + ret.substring(ret.indexOf("/HolonGUI/"), ret.length());
|
|
|
}
|
|
|
if (os.contains("solaris")) {
|
|
|
// dosmth
|