start browser discovery code for Windows
Former-commit-id: f7fa3c3eca
Former-commit-id: 580af619de932b1f251d50b6ad727355e6a587f7
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("\\s+");
|
||||
String[] splitLine = line.split("\\t+");
|
||||
kb.close();
|
||||
return splitLine[splitLine.length];
|
||||
return splitLine[splitLine.length-1];
|
||||
}
|
||||
}
|
||||
// Match wasn't found, still need to close Scanner
|
||||
|
Reference in New Issue
Block a user