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

@@ -32,7 +32,7 @@ namespace NekoRay::fmt {
}
int CustomBean::NeedExternal(bool isFirstProfile, bool isVPN) {
if (core == "internal") return 0;
if (core == "internal" || core == "internal-full") return 0;
if (core == "hysteria") {
if (isFirstProfile && !isVPN) {
return 2;