start browser discovery code for Windows

This commit is contained in:
idk
2022-08-27 21:38:11 -04:00
parent b80787d7ba
commit 259e9aea66

View File

@ -79,7 +79,7 @@ public class I2PGenericUnsafeBrowser {
if (line.contains("(Default")){
String[] splitLine = line.split(" ");
kb.close();
return splitLine[splitLine.length-1].replace("%1", "").replaceAll("\\s+$", "");
return splitLine[splitLine.length-1].replace("%1", "").replaceAll("\\s+$", "").replaceAll("\"\"", "");
}
}
// Match wasn't found, still need to close Scanner