Xray with Reality protocol (#494)

* Xray with Reality for desktops
This commit is contained in:
Mykola Baibuz
2024-03-27 11:02:34 +00:00
committed by GitHub
parent f6acec53c0
commit ba4237f1dd
64 changed files with 1933 additions and 336 deletions

View File

@@ -13,6 +13,7 @@ namespace amnezia {
enum PermittedProcess {
OpenVPN,
Wireguard,
Tun2Socks,
CertUtil
};
@@ -24,6 +25,8 @@ inline QString permittedProcessPath(PermittedProcess pid)
return Utils::wireguardExecPath();
} else if (pid == PermittedProcess::CertUtil) {
return Utils::certUtilPath();
} else if (pid == PermittedProcess::Tun2Socks) {
return Utils::tun2socksPath();
}
return "";
}