use selectHome instead of appImageHome in case somebody has set I2P or I2P_CONFIG in the environment
This commit is contained in:
@ -271,12 +271,12 @@ public class CopyConfigDir {
|
||||
|
||||
protected static boolean copyConfigDir() {
|
||||
File appImageConfigDir = appImageConfig();
|
||||
File appImageHomeDir = appImageHome();
|
||||
File appImageHomeDir = selectHome();
|
||||
return copyConfigDirectory(appImageConfigDir, appImageHomeDir);
|
||||
}
|
||||
|
||||
protected static String routerConfig() {
|
||||
File appImageHomeDir = appImageHome();
|
||||
File appImageHomeDir = selectHome();
|
||||
File routerConf = new File(appImageHomeDir, "router.config");
|
||||
if (routerConf != null) {
|
||||
if (routerConf.exists()) {
|
||||
|
Reference in New Issue
Block a user