Support hysteria2

This commit is contained in:
arm64v8a
2023-09-05 21:52:01 +09:00
parent aad4063ef7
commit 9efde1a59e
13 changed files with 119 additions and 54 deletions

View File

@@ -578,7 +578,7 @@ namespace NekoGui {
if (thisExternalStat > 0) {
auto extR = ent->bean->BuildExternal(ext_mapping_port, ext_socks_port, thisExternalStat);
if (extR.program.isEmpty()) {
status->result->error = QObject::tr("Core not found: %1").arg(ent->bean->DisplayType());
status->result->error = QObject::tr("Core not found: %1").arg(ent->bean->DisplayCoreType());
return {};
}
if (!extR.error.isEmpty()) { // rejected