From: Niki Roo Date: Sun, 10 Dec 2017 17:13:58 +0000 (+0100) Subject: Do not reset config by default, fix woopsie X-Git-Tag: fanfix-1.7.0~34^2~3 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=38febea9082207ed7175734f46489094369da2f9;p=fanfix.git Do not reset config by default, fix woopsie --- diff --git a/src/be/nikiroo/fanfix/Instance.java b/src/be/nikiroo/fanfix/Instance.java index c265861..ed22f62 100644 --- a/src/be/nikiroo/fanfix/Instance.java +++ b/src/be/nikiroo/fanfix/Instance.java @@ -47,7 +47,7 @@ public class Instance { } // Most of the rest is dependent upon this: - createConfigs(configDir, true); + createConfigs(configDir, false); // update tracer: boolean debug = Instance.getConfig() @@ -336,7 +336,7 @@ public class Instance { * @param configDir * the directory where to find the configuration files * @param refresh - * TRUE to refresh the configuration files from the default + * TRUE to reset the configuration files from the default * included ones */ private static void createConfigs(String configDir, boolean refresh) { @@ -390,7 +390,7 @@ public class Instance { if (remoteLib == null || remoteLib.trim().isEmpty()) { String libDir = System.getProperty("fanfix.libdir"); if (libDir == null || libDir.isEmpty()) { - config.getString(Config.LIBRARY_DIR); + libDir = config.getString(Config.LIBRARY_DIR); } try { lib = new LocalLibrary(getFile(libDir));