Fixed bat

This commit is contained in:
SFKao 2025-03-03 15:57:03 +01:00
parent 27491713eb
commit b8a48dacd8

View File

@ -7,10 +7,12 @@ if %errorlevel% neq 0 (
goto end goto end
) else ( ) else (
if not exist .git ( if not exist .git (
git init git init
git checkout -b main
git remote add origin https://git.sfkao.net/SFKao/Las_3000-modpack.git 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 call git pull --rebase --autostash
if %errorlevel% neq 0 ( if %errorlevel% neq 0 (
REM Si pasa algo REM Si pasa algo