start browser discovery code for Windows

Former-commit-id: b638c4a140
Former-commit-id: 656106156960f5f57f3b93edb9ea4dcadc8532fa
This commit is contained in:
idk
2022-08-27 21:15:57 -04:00
parent faa6336da6
commit 04a4e37734

View File

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