From c86d3e9c74f293efac6c8464c60639ba0a0a313e Mon Sep 17 00:00:00 2001 From: jllllll Date: Sun, 2 Apr 2023 21:28:04 -0500 Subject: [PATCH] Add -k flag to curl command Disables SSL certificate verification which was causing curl to fail on some systems. https://github.com/oobabooga/text-generation-webui/issues/644#issuecomment-1493518391 --- install.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.bat b/install.bat index 45df4b4f..4c185c89 100644 --- a/install.bat +++ b/install.bat @@ -48,7 +48,7 @@ if "%PACKAGES_TO_INSTALL%" NEQ "" ( echo "Downloading Micromamba from %MICROMAMBA_DOWNLOAD_URL% to %MAMBA_ROOT_PREFIX%\micromamba.exe" mkdir "%MAMBA_ROOT_PREFIX%" - call curl -L "%MICROMAMBA_DOWNLOAD_URL%" > "%MAMBA_ROOT_PREFIX%\micromamba.exe" || ( echo Micromamba failed to download. && goto end ) + call curl -Lk "%MICROMAMBA_DOWNLOAD_URL%" > "%MAMBA_ROOT_PREFIX%\micromamba.exe" || ( echo Micromamba failed to download. && goto end ) @rem test the mamba binary echo Micromamba version: