mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 03:13:44 +08:00
feat: support upgrade for release core
This commit is contained in:
parent
a3d7b72485
commit
00cd9b581d
@ -101,7 +101,7 @@ async function getLatestAlphaVersion() {
|
|||||||
/* ======= clash meta stable ======= */
|
/* ======= clash meta stable ======= */
|
||||||
const META_VERSION_URL =
|
const META_VERSION_URL =
|
||||||
"https://github.com/MetaCubeX/mihomo/releases/latest/download/version.txt";
|
"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;
|
let META_VERSION;
|
||||||
|
|
||||||
const META_MAP = {
|
const META_MAP = {
|
||||||
|
@ -97,7 +97,6 @@ export const ClashCoreViewer = forwardRef<DialogRef>((props, ref) => {
|
|||||||
<Box display="flex" justifyContent="space-between">
|
<Box display="flex" justifyContent="space-between">
|
||||||
{t("Clash Core")}
|
{t("Clash Core")}
|
||||||
<Box>
|
<Box>
|
||||||
{clash_core !== "clash-meta" && (
|
|
||||||
<LoadingButton
|
<LoadingButton
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
@ -109,7 +108,6 @@ export const ClashCoreViewer = forwardRef<DialogRef>((props, ref) => {
|
|||||||
>
|
>
|
||||||
{t("Upgrade")}
|
{t("Upgrade")}
|
||||||
</LoadingButton>
|
</LoadingButton>
|
||||||
)}
|
|
||||||
<Button
|
<Button
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user