diff --git a/scripts/check.mjs b/scripts/check.mjs index cfc5851..d3dca2f 100644 --- a/scripts/check.mjs +++ b/scripts/check.mjs @@ -101,7 +101,7 @@ async function getLatestAlphaVersion() { /* ======= clash meta stable ======= */ const META_VERSION_URL = "https://github.com/MetaCubeX/mihomo/releases/latest/download/version.txt"; -const META_URL_PREFIX = `https://github.com/MetaCubeX/mihomo/releases/download`; +const META_URL_PREFIX = `https://github.com/clash-verge-rev/mihomo/releases/download`; let META_VERSION; const META_MAP = { diff --git a/src/components/setting/mods/clash-core-viewer.tsx b/src/components/setting/mods/clash-core-viewer.tsx index 3455508..0b12147 100644 --- a/src/components/setting/mods/clash-core-viewer.tsx +++ b/src/components/setting/mods/clash-core-viewer.tsx @@ -97,19 +97,17 @@ export const ClashCoreViewer = forwardRef((props, ref) => { {t("Clash Core")} - {clash_core !== "clash-meta" && ( - } - loadingPosition="start" - loading={upgrading} - sx={{ marginRight: "8px" }} - onClick={onUpgrade} - > - {t("Upgrade")} - - )} + } + loadingPosition="start" + loading={upgrading} + sx={{ marginRight: "8px" }} + onClick={onUpgrade} + > + {t("Upgrade")} +