start browser discovery code for Windows
This commit is contained in:
@ -79,7 +79,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-1].replace("%1", "").replaceAll("\\s+$", "");
|
return splitLine[splitLine.length-1].replace("%1", "").replaceAll("\\s+$", "").replaceAll("\"\"", "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 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