Mods, update mods

This commit is contained in:
SFKao 2026-05-07 12:07:21 +02:00
parent 8e2e694680
commit d0982f2b68
36 changed files with 52 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
mods/createdeco-2.1.3.jar Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
mods/drivebywire-0.2.7.jar Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
mods/tfmg-1.2.0.jar Normal file

Binary file not shown.

Binary file not shown.

24
updateMods.bat Normal file
View File

@ -0,0 +1,24 @@
@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

28
updateMods.sh Normal file
View File

@ -0,0 +1,28 @@
#!/bin/bash
cd "$(dirname "$0")" || exit 1
echo "Iniciando"
# Check if git is installed
if ! command -v git >/dev/null 2>&1; then
echo "Git no está instalado"
echo "Instálalo desde https://git-scm.com/downloads"
exit 1
fi
# If not already a git repo, initialize and fetch
if [ ! -d ".git" ]; then
echo "Git no esta inicializado"
git init
git remote add origin https://git.sfkao.net/SFKao/Restauradores-modpack.git
git fetch --depth 1
git checkout -t origin/main -f
fi
echo "Bajando..."
# Fetch and pull updates
if ! git fetch --depth 1 --progress || ! git pull --depth 1 --rebase --autostash --progress; then
echo "Han habido errores actualizando, contactar con SFKao"
exit 1
fi
# Equivalent to pause (wait for user input before closing)
read -rp "Presiona Enter para salir..."