Compare commits
41
Commits
main
..
6682751a97
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6682751a97 | ||
|
|
8109d6f937 | ||
|
|
e611f39e49 | ||
|
|
3efac93a22 | ||
|
|
d7db2f577b | ||
|
|
257b8e5d2f | ||
|
|
e3cdbab634 | ||
|
|
59dc6498fc | ||
|
|
805fd84a86 | ||
|
|
3eff33a750 | ||
|
|
a6e5ee5a46 | ||
|
|
f8f2af651b | ||
|
|
fc93ed868b | ||
|
|
7fd57a4a24 | ||
|
|
d2cfa524ae | ||
|
|
beeb8d4874 | ||
|
|
bbf4fc2fb1 | ||
|
|
516901ae85 | ||
|
|
58c6302bb7 | ||
|
|
03ed0c0af0 | ||
|
|
257b5af7fb | ||
|
|
d63921975b | ||
|
|
b7aa589cf0 | ||
|
|
2c44b01e07 | ||
|
|
b75b282a70 | ||
|
|
a074f817f4 | ||
|
|
bbccf165b5 | ||
|
|
a576d6c6d9 | ||
|
|
310c86082e | ||
|
|
61018ac949 | ||
|
|
b15510147a | ||
|
|
3ff031dce2 | ||
|
|
8e76306ff8 | ||
|
|
6f67c1e0b9 | ||
|
|
d04db0a512 | ||
|
|
d0eeae5338 | ||
|
|
070f9a079b | ||
|
|
100e0c83be | ||
|
|
348cea31d4 | ||
|
|
ce0389b5ad | ||
|
|
d405f1dda7 |
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.
Binary file not shown.
Binary file not shown.
+1
-1
@@ -10,7 +10,7 @@ if %errorlevel% neq 0 (
|
||||
git init
|
||||
git remote add origin https://git.sfkao.net/SFKao/Las_3000-modpack.git
|
||||
git fetch
|
||||
git checkout -t origin/main -f
|
||||
git checkout -t origin/server -f
|
||||
)
|
||||
call git fetch
|
||||
call git pull --rebase --autostash
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
#!/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
|
||||
Reference in new issue
Block a user