set a default directory in some cases

Former-commit-id: d989337a9c
Former-commit-id: 3334c0c6e0d54e4001ef0afd5d87ec07d68fd41f
This commit is contained in:
idk
2022-09-05 21:08:11 -04:00
parent 553472a045
commit a52121b191
9 changed files with 72 additions and 5 deletions

View File

@ -112,6 +112,7 @@ public class I2PBrowser extends I2PCommonBrowser {
* @since 0.0.17
*/
public void launch(boolean privateWindow, String[] url) {
validateUserDir();
if (generic)
this.launchGeneric(privateWindow, url);
if ((chromium && firefox) || (!chromium && !firefox)) {
@ -175,6 +176,7 @@ public class I2PBrowser extends I2PCommonBrowser {
}
public static void main(String[] args) {
validateUserDir();
boolean privateBrowsing = false;
println("I2PBrowser");
I2PBrowser i2pBrowser = new I2PBrowser();