Files
minecraft_simple_mod_sync/updater/update.sh
2025-01-14 15:16:03 +03:00

16 lines
234 B
Bash
Executable File

#!/bin/bash
if [ -d ".git" ]; then
git pull
fi
if [ ! -d ".venv" ]; then
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r ./requirments.txt
else
source .venv/bin/activate
fi
python3 ./updater.py