start browser discovery code for Windows
Former-commit-id: daf642f145
Former-commit-id: 608a206c86c3a7d4f859f9f3633bf62f613430db
This commit is contained in:
@ -58,9 +58,9 @@ public class I2PGenericUnsafeBrowser {
|
||||
while (kb.hasNextLine()) {
|
||||
String line = kb.nextLine();
|
||||
if (line.contains("(Default")){
|
||||
String[] splitLine = line.split("\\t+");
|
||||
String[] splitLine = line.split(" ");
|
||||
kb.close();
|
||||
return splitLine[splitLine.length-1];
|
||||
return splitLine[splitLine.length-2];
|
||||
}
|
||||
}
|
||||
// Match wasn't found, still need to close Scanner
|
||||
|
Reference in New Issue
Block a user