From b0f9213f51e3aaafa42bb261e6e9c6ef7c991bc0 Mon Sep 17 00:00:00 2001 From: JupiterFeng Date: Thu, 29 Aug 2024 09:22:43 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=90=86=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=B8=8B=E8=BD=BDdocker=20compose?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/install.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.ts b/src/install.ts index 200b5cf..a170d65 100644 --- a/src/install.ts +++ b/src/install.ts @@ -24,7 +24,7 @@ async function installOnLinux(version: string): Promise { if (!version.startsWith('v') && parseInt(version.split('.')[0], 10) >= 2) { version = `v${version}` } - const url = `https://github.com/docker/compose/releases/download/${version}/docker-compose-${await system}-${await hardware}` + const url = `https://gh.api.99988866.xyz/https://github.com/docker/compose/releases/download/${version}/docker-compose-${await system}-${await hardware}` const installerPath = await downloadTool(url) await exec(`chmod +x ${installerPath}`) const cachedPath = await cacheFile(