Disable GeoIPFile and GeoIPv6File options.

On Windows, Tor falls back to the default paths if these options aren't specified and then refuses to start because the default paths are relative.
This commit is contained in:
akwizgran
2022-03-10 23:37:09 +00:00
parent 1a6ba16a59
commit 02b805ce42

View File

@@ -413,6 +413,8 @@ abstract class TorPlugin implements DuplexPlugin, EventHandler, EventListener {
append(strb, "RunAsDaemon", 1);
append(strb, "SafeSocks", 1);
append(strb, "SocksPort", torSocksPort);
strb.append("GeoIPFile\n");
strb.append("GeoIPv6File\n");
//noinspection CharsetObjectCanBeUsed
return new ByteArrayInputStream(
strb.toString().getBytes(Charset.forName("UTF-8")));