start browser discovery code for Windows

Former-commit-id: 370b547272
Former-commit-id: bb28fd862c4b62077060ab92415902a9046b21bd
This commit is contained in:
idk
2022-08-27 21:23:01 -04:00
parent c6476a604b
commit 8494d297c7

View File

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