chore: Hide script mode for alpha core

This commit is contained in:
MystiPanda 2023-12-10 16:31:55 +08:00
parent 0c3f03680c
commit a6f15e2474

View File

@ -25,7 +25,7 @@ const ProxyPage = () => {
const { verge } = useVerge(); const { verge } = useVerge();
const modeList = useMemo(() => { const modeList = useMemo(() => {
if (verge?.clash_core === "clash-meta") { if (verge?.clash_core?.includes("clash-meta")) {
return ["rule", "global", "direct"]; return ["rule", "global", "direct"];
} }
return ["rule", "global", "direct", "script"]; return ["rule", "global", "direct", "script"];