disable https-only mode for now

Former-commit-id: 44ce1d2ed2
Former-commit-id: ff47503ed3b262c3e70d5beb5c47f0184e654cdf
This commit is contained in:
idk
2022-08-21 19:03:03 -04:00
parent 6db9b245fd
commit dc011ce892
3 changed files with 19 additions and 3 deletions

View File

@ -440,8 +440,16 @@ public class I2PFirefox {
}
public static void main(String[] args) {
boolean privateBrowsing = false;
if (args != null && args.length > 0) {
System.out.println("checking for private browsing");
if (args[0].equals("-private")) {
privateBrowsing = true;
System.out.println("private browsing is true, profile will be discarded at end of session");
}
}
System.out.println("I2PFirefox");
I2PFirefox i2pFirefox = new I2PFirefox();
i2pFirefox.launch();
i2pFirefox.launch(privateBrowsing);
}
}