打印下载地址

This commit is contained in:
JupiterFeng committed 2024-08-29 09:47:50 +00:00
1 parent b0f9213f51
commit 0816181586
1 file changed
+1
+1
View File
@@ -25,6 +25,7 @@ async function installOnLinux(version: string): Promise<string> {
version = `v${version}`
}
const url = `https://gh.api.99988866.xyz/https://github.com/docker/compose/releases/download/${version}/docker-compose-${await system}-${await hardware}`
runCommand('echo ' + url)
const installerPath = await downloadTool(url)
await exec(`chmod +x ${installerPath}`)
const cachedPath = await cacheFile(