fix build.md

This commit is contained in:
idk
2022-12-22 05:22:09 +00:00
parent d80c000e21
commit 39a6ac282f
2 changed files with 4 additions and 2 deletions

View File

@ -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");

View File

@ -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) {