Las_3000-modpack/updateMods.bat
2025-03-03 15:36:59 +01:00

21 lines
518 B
Batchfile

@echo off
pushd %~dp0
git --version > nul 2>&1
if %errorlevel% neq 0 (
echo Git no esta instalado
echo Instalalo desde https://git-scm.com/downloads
goto end
) else (
if not exist .git (
git init
git checkout -b main
git remote add origin https://git.sfkao.net/SFKao/Las_3000-modpack.git
)
call git pull --rebase --autostash
if %errorlevel% neq 0 (
REM Si pasa algo
echo Han habido errores actualizando, contactar con SFKao
goto end
)
)
:end