From 7eee9e947067ee03037c9b028b4e4bc89ea8f2e0 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Wed, 6 Mar 2024 06:46:50 -0800 Subject: [PATCH] Add -k to curl command to download miniconda on windows (closes #5628) --- start_windows.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start_windows.bat b/start_windows.bat index f607e518..900ae7a4 100755 --- a/start_windows.bat +++ b/start_windows.bat @@ -37,7 +37,7 @@ if "%conda_exists%" == "F" ( echo Downloading Miniconda from %MINICONDA_DOWNLOAD_URL% to %INSTALL_DIR%\miniconda_installer.exe mkdir "%INSTALL_DIR%" - call curl -L "%MINICONDA_DOWNLOAD_URL%" > "%INSTALL_DIR%\miniconda_installer.exe" || ( echo. && echo Miniconda failed to download. && goto end ) + call curl -Lk "%MINICONDA_DOWNLOAD_URL%" > "%INSTALL_DIR%\miniconda_installer.exe" || ( echo. && echo Miniconda failed to download. && goto end ) echo Installing Miniconda to %CONDA_ROOT_PREFIX% start /wait "" "%INSTALL_DIR%\miniconda_installer.exe" /InstallationType=JustMe /NoShortcuts=1 /AddToPath=0 /RegisterPython=0 /NoRegistry=1 /S /D=%CONDA_ROOT_PREFIX%