mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-22 08:10:07 +08:00
Update ConfigBuilder.cpp
This commit is contained in:
parent
3b56d8b429
commit
f438f63a08
@ -690,10 +690,10 @@ namespace Configs {
|
|||||||
|
|
||||||
// manage routing section
|
// manage routing section
|
||||||
auto routeObj = QJsonObject();
|
auto routeObj = QJsonObject();
|
||||||
|
if (dataStore->spmode_vpn) {
|
||||||
|
routeObj["auto_detect_interface"] = true;
|
||||||
|
}
|
||||||
if (!status->forTest) {
|
if (!status->forTest) {
|
||||||
if (dataStore->spmode_vpn) {
|
|
||||||
routeObj["auto_detect_interface"] = true;
|
|
||||||
}
|
|
||||||
if (dataStore->enable_stats)
|
if (dataStore->enable_stats)
|
||||||
{
|
{
|
||||||
routeObj["find_process"] = true;
|
routeObj["find_process"] = true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user