fix build.md
This commit is contained in:
@ -326,7 +326,8 @@ public class I2PBrowser extends I2PCommonBrowser {
|
|||||||
File systrayIsRunningFile =
|
File systrayIsRunningFile =
|
||||||
new File(runtimeDirectory(""), "systray.running");
|
new File(runtimeDirectory(""), "systray.running");
|
||||||
if (systrayIsRunningFile.exists()) {
|
if (systrayIsRunningFile.exists()) {
|
||||||
logger.info("Systray is already running in another process");
|
logger.info("Systray is already running in another process: " +
|
||||||
|
systrayIsRunningFile.toString());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
logger.info("Systray does not appear to be running");
|
logger.info("Systray does not appear to be running");
|
||||||
|
@ -84,7 +84,7 @@ public class I2PBrowserPlugin extends I2PBrowser implements ClientApp {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
public void startup() {
|
public void startup() {
|
||||||
cam.register(this);
|
|
||||||
cam.notify(this, ClientAppState.STARTING,
|
cam.notify(this, ClientAppState.STARTING,
|
||||||
"Starting up profile manager systray", null);
|
"Starting up profile manager systray", null);
|
||||||
Runnable r = new Runnable() {
|
Runnable r = new Runnable() {
|
||||||
@ -100,6 +100,7 @@ public class I2PBrowserPlugin extends I2PBrowser implements ClientApp {
|
|||||||
new Thread(r).start();
|
new Thread(r).start();
|
||||||
try {
|
try {
|
||||||
this.startup(args);
|
this.startup(args);
|
||||||
|
cam.register(this);
|
||||||
cam.notify(this, ClientAppState.RUNNING,
|
cam.notify(this, ClientAppState.RUNNING,
|
||||||
"Starting up profile manager systray", null);
|
"Starting up profile manager systray", null);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Reference in New Issue
Block a user