Update ConfigBuilder.cpp

This commit is contained in:
parhelia512 2025-09-01 01:01:32 +08:00 committed by GitHub
parent 3b56d8b429
commit f438f63a08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -690,10 +690,10 @@ namespace Configs {
// manage routing section
auto routeObj = QJsonObject();
if (dataStore->spmode_vpn) {
routeObj["auto_detect_interface"] = true;
}
if (!status->forTest) {
if (dataStore->spmode_vpn) {
routeObj["auto_detect_interface"] = true;
}
if (dataStore->enable_stats)
{
routeObj["find_process"] = true;