From b8a48dacd86cd55c362f9a275ff171a5fcc45c88 Mon Sep 17 00:00:00 2001 From: SFKao Date: Mon, 3 Mar 2025 15:57:03 +0100 Subject: [PATCH] Fixed bat --- updateMods.bat | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/updateMods.bat b/updateMods.bat index b325117..55ddd6d 100644 --- a/updateMods.bat +++ b/updateMods.bat @@ -7,10 +7,12 @@ if %errorlevel% neq 0 ( goto end ) else ( if not exist .git ( - git init - git checkout -b main + git init git remote add origin https://git.sfkao.net/SFKao/Las_3000-modpack.git + git fetch + git checkout -t origin/main -f ) + call git fetch call git pull --rebase --autostash if %errorlevel% neq 0 ( REM Si pasa algo