start browser discovery code for Windows

Former-commit-id: 259e9aea66
Former-commit-id: cbb9c80faec30bef4382dc8ed26c4a0e33703106
This commit is contained in:
idk
2022-08-27 21:38:11 -04:00
parent d8f205ae85
commit 9f6caeeb14

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