Merge pull request #4141 from chika0801/master

添加 juicity 作为自定义 core
pull/4144/head
2dust 2023-07-30 18:26:36 +08:00 committed by GitHub
commit f2d0e37255
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 3 deletions

View File

@ -22,6 +22,7 @@
public const string geoUrl = "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/{0}.dat";
public const string singboxGeoUrl = "https://github.com/soffchen/sing-{0}/releases/latest/download/{0}.db";
public const string SpeedPingTestUrl = @"https://www.google.com/generate_204";
public const string juicityCoreUrl = "https://github.com/juicity/juicity/releases";
public const string CustomRoutingListUrl = @"https://raw.githubusercontent.com/2dust/v2rayCustomRoutingList/master/";
public const string PromotionUrl = @"aHR0cHM6Ly85LjIzNDQ1Ni54eXovYWJjLmh0bWw=";
@ -170,4 +171,4 @@
#endregion global variable
}
}
}

View File

@ -353,8 +353,16 @@ namespace v2rayN.Handler
match = "sing-box",
versionArg = "version",
});
coreInfos.Add(new CoreInfo
{
coreType = ECoreType.juicity,
coreExes = new List<string> { "juicity-client", "juicity" },
arguments = "-c config.json",
coreUrl = Global.juicityCoreUrl
});
}
#endregion Core Type
}
}
}

View File

@ -12,6 +12,7 @@
naiveproxy = 22,
tuic = 23,
sing_box = 24,
juicity = 25,
v2rayN = 99
}
}
}