This enables the jpackage to launch almost any browser as an I2P-enabled browser. It will choose Firefox variants first, Chromium variants second, and falls back to setting environment variables before spawning the browser process. It also removes the Firefox dependency from the NSIS build

This commit is contained in:
idk
2022-08-29 19:42:25 -04:00
parent 910aeed82c
commit 646778680d
2 changed files with 29 additions and 72 deletions

View File

@ -77,9 +77,9 @@ public class WinLauncher {
if (i2pIsRunning()) {
logger.warning("I2P is already running");
I2PFirefox i2pFirefox = new I2PFirefox();
System.out.println("I2PFirefox");
i2pFirefox.launch(privateBrowsing);
I2PBrowser i2pBrowser = new I2PBrowser();
System.out.println("i2pBrowser");
i2pBrowser.launch(privateBrowsing);
return;
}