From 7b2dad077d2041bb9c1c0c18c41adc367266f10b Mon Sep 17 00:00:00 2001 From: Max Romanyuta Date: Thu, 3 Dec 2020 15:32:43 +0200 Subject: [PATCH] Fix path to sdkmanager In the commandlinetools-${OS}-${TOOLS_VERSION}_latest.zip file, the name of the zipped folder has been changed. --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 25f5790..d3ba90e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -37,7 +37,7 @@ async function install(): Promise { if (process.platform === 'linux') { const cmdlineToolsZip = await tc.downloadTool(COMMANDLINE_TOOLS_LIN_URL) const cmdlineTools = await tc.extractZip(cmdlineToolsZip) - sdkManager = path.join(cmdlineTools, 'tools', 'bin', 'sdkmanager') + sdkManager = path.join(cmdlineTools, 'cmdline-tools', 'bin', 'sdkmanager') } else if (process.platform === 'darwin') { const cmdlineToolsZip = await tc.downloadTool(COMMANDLINE_TOOLS_MAC_URL) const cmdlineTools = await tc.extractZip(cmdlineToolsZip)