start browser discovery code for Windows
Former-commit-id: f3bf7a928f
Former-commit-id: 5e0ff03543e9ed7ad2116f2cce86b97afc27080e
This commit is contained in:
@ -60,7 +60,7 @@ public class I2PGenericUnsafeBrowser {
|
|||||||
if (line.contains("(Default")){
|
if (line.contains("(Default")){
|
||||||
String[] splitLine = line.split(" ");
|
String[] splitLine = line.split(" ");
|
||||||
kb.close();
|
kb.close();
|
||||||
return splitLine[splitLine.length-2];
|
return splitLine[splitLine.length-1].replace("%", "").replaceAll("\\s+$", "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Match wasn't found, still need to close Scanner
|
// Match wasn't found, still need to close Scanner
|
||||||
|
Reference in New Issue
Block a user