start browser discovery code for Windows

Former-commit-id: 67c487ceb7
Former-commit-id: d0e2eebef4f175e7bef15daa51bfb6c2b8d88b6e
This commit is contained in:
idk
2022-08-27 21:21:58 -04:00
parent 1278fdd6e8
commit c6476a604b

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("\\s+$", "");
return splitLine[splitLine.length-1].replace("%", "").replaceAll("1\\s+$", "");
}
}
// Match wasn't found, still need to close Scanner