Compare commits

..
3 Commits
Author SHA1 Message Date
SFKao 3d33993743 Resource packs 2025-08-20 19:40:09 +02:00
SFKao b3265dec79 Merge remote-tracking branch 'origin/sho-create' 2025-08-18 19:40:35 +02:00
Eloy Garcia 7710037d70 Addons y demas 2025-08-18 19:39:55 +02:00
27 changed files with 1 additions and 40 deletions

No files matched your search

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.
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.
+1 -1
View File
@@ -10,7 +10,7 @@ if %errorlevel% neq 0 (
git init git init
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 fetch
git checkout -t origin/server -f git checkout -t origin/main -f
) )
call git fetch call git fetch
call git pull --rebase --autostash call git pull --rebase --autostash
-39
View File
@@ -1,39 +0,0 @@
#!/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 http://127.0.0.1:11001/SFKao/Las_3000-modpack.git
git fetch
git checkout -t origin/server -f
fi
echo "Bajando..."
# Fetch and pull updates
if ! git fetch --progress || ! git pull --rebase --autostash --progress; then
echo "Han habido errores actualizando, contactar con SFKao"
exit 1
fi
# === Sync datapacks ===
SOURCE="./datapacks"
TARGET="./world/datapacks"
if [ -d "$SOURCE" ]; then
echo "Sincronizando datapacks..."
mkdir -p "$TARGET"
rm -rf "$TARGET"/*
cp -r "$SOURCE"/* "$TARGET"/
echo "Datapacks copiados en $TARGET"
else
echo "No se encontró la carpeta $SOURCE"
fi