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