add generic to browser.config

Former-commit-id: 7b300ac9b2
Former-commit-id: c6419d208eeadee126defe2a844bb499310ce03d
This commit is contained in:
idk
2022-10-22 21:59:44 -04:00
parent 2a66154f6c
commit c6c98f97a5
3 changed files with 116 additions and 66 deletions

View File

@ -123,8 +123,10 @@ public class I2PBrowser extends I2PCommonBrowser {
*/
public void launch(int privateWindow, String[] url) {
validateUserDir();
if (generic)
if (generic) {
this.launchGeneric(privateWindow, url);
return;
}
if ((chromium && firefox) || (!chromium && !firefox)) {
if (this.hasFirefox()) {
this.launchFirefox(privateWindow, url);