Merge remote-tracking branch 'origin/main' into server
This commit is contained in:
commit
c88b517d34
@ -33,4 +33,6 @@ Y dejar la carpeta con el achivo asi:
|
|||||||
|
|
||||||
Tras eso, ejecutar el .bat en la carpeta de minecraft para instalar/actualizar los mods. Si salta algo de seguridad, darle a mas informacion y ejecutar igualmente.
|
Tras eso, ejecutar el .bat en la carpeta de minecraft para instalar/actualizar los mods. Si salta algo de seguridad, darle a mas informacion y ejecutar igualmente.
|
||||||
|
|
||||||
Si el servidor da un error de que no se tienen los mismos mods, solo habria que hacer doble click y abrir el archivo updateMods.bat, eso los actualizara automaticamente.
|
Si el servidor da un error de que no se tienen los mismos mods, solo habria que hacer doble click y abrir el archivo updateMods.bat, eso los actualizara automaticamente.
|
||||||
|
|
||||||
|
## NOTA: NO ACTUALIZAR LOS MODS NUNCA DESDE MODRINTH
|
||||||
BIN
mods/Botania-1.20.1-451-FORGE.jar
Normal file
BIN
mods/Botania-1.20.1-451-FORGE.jar
Normal file
Binary file not shown.
BIN
mods/Patchouli-1.20.1-85-FORGE.jar
Normal file
BIN
mods/Patchouli-1.20.1-85-FORGE.jar
Normal file
Binary file not shown.
BIN
mods/mechanicalbotania-1.0.2.jar
Normal file
BIN
mods/mechanicalbotania-1.0.2.jar
Normal file
Binary file not shown.
28
updateMods.sh
Normal file
28
updateMods.sh
Normal 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/All-Of-Create.git
|
||||||
|
git fetch
|
||||||
|
git checkout -t origin/main -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
|
||||||
|
|
||||||
|
# Equivalent to pause (wait for user input before closing)
|
||||||
|
read -rp "Presiona Enter para salir..."
|
||||||
Loading…
x
Reference in New Issue
Block a user