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

Skip to content
Snippets Groups Projects
Unverified Commit a74f3635 authored by zzz's avatar zzz
Browse files

i2psnark standalone: Skip browser launch if so configured

parent a6ad5251
No related branches found
No related tags found
No related merge requests found
......@@ -77,8 +77,11 @@ public class RunStandalone {
try {
Thread.sleep(1000);
} catch (InterruptedException ie) {}
UrlLauncher launch = new UrlLauncher(_context, null, new String[] { url } );
launch.startup();
String p = _context.getProperty("routerconsole.browser");
if (!("/bin/false".equals(p) || "NUL".equals(p))) {
UrlLauncher launch = new UrlLauncher(_context, null, new String[] { url } );
launch.startup();
}
} catch (Exception e) {
e.printStackTrace();
}
......
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