I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Verified Commit 20c528de authored by zzz's avatar zzz
Browse files

Router: Cleanup fix for gitlab ticket #16

Only check for clients.config if there was no clients.config.d
parent 9f231024
No related branches found
No related tags found
No related merge requests found
...@@ -99,11 +99,13 @@ public class WorkingDir { ...@@ -99,11 +99,13 @@ public class WorkingDir {
// then attempt to use, resulting in a router with no client applications. Checking // then attempt to use, resulting in a router with no client applications. Checking
// for clients.config.d determines if the directory is "Real" or not. // for clients.config.d determines if the directory is "Real" or not.
File clientAppsConfig = new File(checkOld.getAbsolutePath(), "clients.config.d"); File clientAppsConfig = new File(checkOld.getAbsolutePath(), "clients.config.d");
if (routerConfig.exists() && clientAppsConfig.exists() && clientAppsConfig.isDirectory()) if (routerConfig.exists() && clientAppsConfig.exists() && clientAppsConfig.isDirectory()) {
home = appdata;
clientAppsConfig = new File(checkOld.getAbsolutePath(), "clients.config");
if (routerConfig.exists() && clientAppsConfig.exists())
home = appdata; home = appdata;
} else {
clientAppsConfig = new File(checkOld.getAbsolutePath(), "clients.config");
if (routerConfig.exists() && clientAppsConfig.exists())
home = appdata;
}
} }
} }
dirf = new SecureDirectory(home, WORKING_DIR_DEFAULT_WINDOWS); dirf = new SecureDirectory(home, WORKING_DIR_DEFAULT_WINDOWS);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment