add NKR_VPN_LEGACY_DNS

This commit is contained in:
arm64v8a
2023-02-03 19:23:12 +09:00
parent 7a3be29769
commit c0b60f9192
3 changed files with 17 additions and 5 deletions

View File

@@ -7,6 +7,7 @@
namespace NekoRay::sys {
ExternalProcess::ExternalProcess() : QProcess() {
// qDebug() << "[Debug] ExternalProcess()" << this << running_ext;
this->env = QProcessEnvironment::systemEnvironment().toStringList();
}
ExternalProcess::~ExternalProcess() {
@@ -117,7 +118,6 @@ namespace NekoRay::sys {
void CoreProcess::Start() {
show_stderr = false;
env = QStringList();
auto v2ray_asset_dir = FindCoreAsset("geoip.dat");
if (!v2ray_asset_dir.isEmpty()) {
v2ray_asset_dir = QFileInfo(v2ray_asset_dir).absolutePath();