From a016b73c3abe2e1880be3394ee9b5d2b1425ae00 Mon Sep 17 00:00:00 2001 From: hiento09 <136591877+hiento09@users.noreply.github.com> Date: Mon, 4 Dec 2023 15:30:35 +0700 Subject: [PATCH] Switch to download nitro .tar.gz file instead of .zip file on windows (#832) Co-authored-by: Hien To --- extensions/inference-extension/download.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/inference-extension/download.bat b/extensions/inference-extension/download.bat index 3dfe34218..5e61c5fcf 100644 --- a/extensions/inference-extension/download.bat +++ b/extensions/inference-extension/download.bat @@ -1,4 +1,4 @@ @echo off set /p NITRO_VERSION=<./nitro/version.txt -.\node_modules\.bin\download https://github.com/janhq/nitro/releases/download/v%NITRO_VERSION%/nitro-%NITRO_VERSION%-win-amd64-cuda.zip -e --strip 1 -o ./nitro/win-cuda -.\node_modules\.bin\download https://github.com/janhq/nitro/releases/download/v%NITRO_VERSION%/nitro-%NITRO_VERSION%-win-amd64.zip -e --strip 1 -o ./nitro/win-cpu +.\node_modules\.bin\download https://github.com/janhq/nitro/releases/download/v%NITRO_VERSION%/nitro-%NITRO_VERSION%-win-amd64-cuda.tar.gz -e --strip 1 -o ./nitro/win-cuda +.\node_modules\.bin\download https://github.com/janhq/nitro/releases/download/v%NITRO_VERSION%/nitro-%NITRO_VERSION%-win-amd64.tar.gz -e --strip 1 -o ./nitro/win-cpu