remove -attach-console as it probably does nothing and breaks something

Former-commit-id: 24a08cf7c5
Former-commit-id: 87acb8d90248091c95b5093c8cfef73d511e3df9
This commit is contained in:
idk
2022-09-07 03:16:13 -04:00
parent 90cb65adcd
commit ed201cb93d
2 changed files with 37 additions and 8 deletions

View File

@ -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];
}
}
}