remove -attach-console as it probably does nothing and breaks something
Former-commit-id: 24a08cf7c5
Former-commit-id: 87acb8d90248091c95b5093c8cfef73d511e3df9
This commit is contained in:
@ -392,16 +392,15 @@ public class I2PFirefox extends I2PCommonBrowser {
|
||||
int arglength = 0;
|
||||
if (args != null)
|
||||
arglength = args.length;
|
||||
String[] newArgs = new String[arglength + 5];
|
||||
String[] newArgs = new String[arglength + 4];
|
||||
newArgs[0] = firefox;
|
||||
newArgs[1] = "-attach-console";
|
||||
newArgs[2] = "--new-instance";
|
||||
newArgs[3] = "--profile";
|
||||
newArgs[4] = I2PFirefoxProfileBuilder.profileDirectory();
|
||||
newArgs[1] = "--new-instance";
|
||||
newArgs[2] = "--profile";
|
||||
newArgs[3] = I2PFirefoxProfileBuilder.profileDirectory();
|
||||
if (args != null) {
|
||||
if (arglength > 0) {
|
||||
for (int i = 0; i < arglength; i++) {
|
||||
newArgs[i + 5] = args[i];
|
||||
newArgs[i + 4] = args[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user