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

Skip to content
Snippets Groups Projects
Commit 6b993688 authored by jrandom's avatar jrandom Committed by zzz
Browse files

poke the systray (so that on startup, it may show the icon and/or launch the browser)

parent b9e667e1
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ import java.io.IOException; ...@@ -4,6 +4,7 @@ import java.io.IOException;
import java.util.List; import java.util.List;
import net.i2p.router.RouterContext; import net.i2p.router.RouterContext;
import net.i2p.apps.systray.SysTray;
import org.mortbay.jetty.Server; import org.mortbay.jetty.Server;
import org.mortbay.jetty.servlet.WebApplicationContext; import org.mortbay.jetty.servlet.WebApplicationContext;
...@@ -51,6 +52,11 @@ public class RouterConsoleRunner { ...@@ -51,6 +52,11 @@ public class RouterConsoleRunner {
} catch (MultiException me) { } catch (MultiException me) {
me.printStackTrace(); me.printStackTrace();
} }
try {
SysTray tray = SysTray.getInstance();
} catch (Throwable t) {
t.printStackTrace();
}
} }
private void initialize(WebApplicationContext context) { private void initialize(WebApplicationContext context) {
......
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