mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
feat: add sharelink for TUIC
This commit is contained in:
committed by
HystericalDragon
parent
1c6fe29ea6
commit
e6fc84e97b
@@ -133,6 +133,14 @@ namespace NekoGui_sub {
|
||||
if (!ok) return;
|
||||
}
|
||||
|
||||
// TUIC
|
||||
if (str.startsWith("tuic://")) {
|
||||
needFix = false;
|
||||
ent = NekoGui::ProfileManager::NewProxyEntity("tuic");
|
||||
auto ok = ent->QUICBean()->TryParseLink(str);
|
||||
if (!ok) return;
|
||||
}
|
||||
|
||||
if (ent == nullptr) return;
|
||||
|
||||
// Fix
|
||||
|
||||
Reference in New Issue
Block a user