From 36838fb9728e1e1b2da47525a52fbbccd9cbb9c3 Mon Sep 17 00:00:00 2001 From: noccu <37862870+noccu@users.noreply.github.com> Date: Wed, 10 Jul 2024 11:25:20 +0200 Subject: [PATCH] Allow for manual mingit download --- src/scripts/install-umatl.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/scripts/install-umatl.bat b/src/scripts/install-umatl.bat index 235328f45..28d2f2668 100644 --- a/src/scripts/install-umatl.bat +++ b/src/scripts/install-umatl.bat @@ -48,7 +48,9 @@ EXIT /B :mingit ECHO Installing MinGit ^(https://github.com/git-for-windows/git/releases^)... MKDIR uma-temp-mingit -curl -L -o uma-temp-mingit.zip "https://github.com/git-for-windows/git/releases/download/v2.38.1.windows.1/MinGit-2.38.1-64-bit.zip" +if not exist "uma-temp-mingit.zip" ( + curl -L -o uma-temp-mingit.zip "https://github.com/git-for-windows/git/releases/download/v2.38.1.windows.1/MinGit-2.38.1-64-bit.zip" +) tar -xf uma-temp-mingit.zip -C uma-temp-mingit DEL uma-temp-mingit.zip EXIT /B 0