mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
feat: custom config
This commit is contained in:
@@ -25,6 +25,8 @@ namespace NekoRay::fmt {
|
||||
if (core == "internal") {
|
||||
auto obj = QString2QJsonObject(config_simple);
|
||||
return obj[IS_NEKO_BOX ? "type" : "protocol"].toString();
|
||||
} else if (core == "internal-full") {
|
||||
return software_core_name + " config";
|
||||
}
|
||||
return core;
|
||||
};
|
||||
@@ -39,6 +41,8 @@ namespace NekoRay::fmt {
|
||||
} else {
|
||||
return {};
|
||||
}
|
||||
} else if (core == "internal-full") {
|
||||
return {};
|
||||
}
|
||||
return AbstractBean::DisplayAddress();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user