@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 remote add origin https://git.sfkao.net/SFKao/Restauradores-modpack.git git fetch --depth 1 git checkout -t origin/main -f ) call git fetch --depth 1 call git pull --depth 1 --rebase --autostash if %errorlevel% neq 0 ( REM Si pasa algo echo Han habido errores actualizando, contactar con SFKao goto end ) ) :end pause