Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
bbd2fdeeec | ||
![]() |
ecfc447125 |
@@ -1,3 +1,3 @@
|
||||
#Build Number for ANT. Do not edit!
|
||||
#Thu Mar 07 15:18:16 EST 2024
|
||||
build.number=709
|
||||
#Fri Mar 08 14:52:55 EST 2024
|
||||
build.number=711
|
||||
|
@@ -36,6 +36,7 @@ public class I2PCommonBrowser {
|
||||
private Properties prop = new Properties();
|
||||
public Logger logger = Logger.getLogger("browserlauncher");
|
||||
private FileHandler fh;
|
||||
private boolean validated = false;
|
||||
int CONFIGURED_TIMEOUT = 200;
|
||||
|
||||
public I2PCommonBrowser() {
|
||||
@@ -75,6 +76,8 @@ public class I2PCommonBrowser {
|
||||
* @return None No return value.
|
||||
*/
|
||||
public void validateUserDirectory() {
|
||||
if (validated)
|
||||
return;
|
||||
logger.info("Validating user directory");
|
||||
String userDir = System.getProperty("user.dir");
|
||||
String userHome = System.getProperty("user.home");
|
||||
@@ -123,6 +126,7 @@ public class I2PCommonBrowser {
|
||||
logger.info(defaultPathFile.getAbsolutePath());
|
||||
}
|
||||
System.setProperty("user.dir", defaultPathFile.getAbsolutePath());
|
||||
validated = true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -127,7 +127,7 @@ public class I2PBrowserPlugin extends I2PBrowser implements ClientApp {
|
||||
"Starting I2P Browser tray manager by testing http://proxy.i2p");
|
||||
MenuService dtg = startTrayApp();
|
||||
try {
|
||||
Thread.sleep(1000);
|
||||
Thread.sleep(5000);
|
||||
} catch (InterruptedException ie) {
|
||||
}
|
||||
if (dtg != null) {
|
||||
|
Reference in New Issue
Block a user