feat: custom config

This commit is contained in:
arm64v8a
2023-04-09 14:00:08 +09:00
parent caca5a59f6
commit 8a0b8554b1
7 changed files with 54 additions and 17 deletions

View File

@@ -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();
};