adds the -app mode flag
Former-commit-id: ce78f3b72f
Former-commit-id: f49cc93ff57dd8bea4bb5e9b2e6c5f9977651f32
This commit is contained in:
@ -369,7 +369,7 @@ public class I2PChromium extends I2PCommonBrowser {
|
||||
* @since 0.0.1
|
||||
*/
|
||||
public ProcessBuilder appProcessBuilder() {
|
||||
return processBuilder(new String[] {"--app"});
|
||||
return processBuilder(new String[] {"--app=http://127.0.0.1:7657"});
|
||||
}
|
||||
|
||||
/**
|
||||
@ -383,7 +383,8 @@ public class I2PChromium extends I2PCommonBrowser {
|
||||
*/
|
||||
public ProcessBuilder appProcessBuilder(String[] args) {
|
||||
ArrayList<String> argList = new ArrayList<String>();
|
||||
argList.add("--app");
|
||||
argList.add("--app=http://127.0.0.1:7657");
|
||||
// argList.add("http://127.0.0.1:7657");
|
||||
if (args != null) {
|
||||
if (args.length > 0) {
|
||||
for (String arg : args) {
|
||||
|
Reference in New Issue
Block a user