From 28364a756a99f69e9730c3d475d1be10a33b12b2 Mon Sep 17 00:00:00 2001 From: algerkong Date: Mon, 12 May 2025 09:26:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=9C=80=E6=96=B0=E5=8F=91=E5=B8=83=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E7=9A=84=20API=20URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/utils/update.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/renderer/utils/update.ts b/src/renderer/utils/update.ts index 71cb8dd..f7c197a 100644 --- a/src/renderer/utils/update.ts +++ b/src/renderer/utils/update.ts @@ -129,20 +129,13 @@ export const getLatestReleaseInfo = async (): Promise try { const token = import.meta.env.VITE_GITHUB_TOKEN; const headers = {}; - - // 获取代理节点列表 - const proxyHosts = await getProxyNodes(); - // 构建 API URL 列表 const apiUrls = [ // 原始地址 'https://api.github.com/repos/algerkong/AlgerMusicPlayer/releases/latest', // 使用代理节点 - ...proxyHosts.map( - (host) => - `${host}/https://raw.githubusercontent.com/algerkong/AlgerMusicPlayer/dev_electron/package.json` - ) + 'https://mc.alger.fun/package.json', ]; if (token) {