From 449b1726be9a3700e4b77af6e9eb57aa4ef46e2b Mon Sep 17 00:00:00 2001 From: wed15 Date: Fri, 19 Jun 2026 09:36:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20src/win-install.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/win-install.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/win-install.ts b/src/win-install.ts index 67ac3e7..b788737 100644 --- a/src/win-install.ts +++ b/src/win-install.ts @@ -23,7 +23,7 @@ async function getInstallerUrl(version: GitVersion, _fallback: boolean = false): if (vers !== 'dev' && vers !== 'master') { vers = latestVers; } - finalUrl = `https://github.com/xmake-io/xmake/releases/download/${latestVers}/xmake-${vers}.${arch}.exe`; + finalUrl = `https://github.bibk.top/xmake-io/xmake/releases/download/${latestVers}/xmake-${vers}.${arch}.exe`; break; } case 'pull': { @@ -35,8 +35,8 @@ async function getInstallerUrl(version: GitVersion, _fallback: boolean = false): case 'tags': { const arch = os.arch() === 'arm64' ? 'arm64' : os.arch() === 'x64' ? 'win64' : 'win32'; finalUrl = semver.gt(vers, '2.2.6') - ? `https://github.com/xmake-io/xmake/releases/download/${vers}/xmake-${vers}.${arch}.exe` - : `https://github.com/xmake-io/xmake/releases/download/${vers}/xmake-${vers}.exe`; + ? `https://github.bibk.top/xmake-io/xmake/releases/download/${vers}/xmake-${vers}.${arch}.exe` + : `https://github.bibk.top/xmake-io/xmake/releases/download/${vers}/xmake-${vers}.exe`; break; } default: {