making the installer create a venv folder if needed

also added if statement that will skip installing pip packages if venv folder already exsist
This commit is contained in:
theboxyguy 2026-08-18 10:41:28 +03:00
parent d7ace815a4
commit feb1b9622b

View file

@ -22,6 +22,18 @@ mkdir -p build/bandle/Data
#cp "$STEAMWORKS_PATH/redistributable_bin/linux64/libsteam_api.so" .
#make -j${make_threads} > steamshim.make.out
#cd ../..
if [ ! -d "venv" ]; then
echo "Creating venv folder and installing pip packages"
python3 -m venv venv
source venv/bin/activate
# the packages themselves
pip install --upgrade pip
pip install pyqt5 pyinstaller
else
echo "The 'venv' folder already exists."
source venv/bin/activate
fi
pyinstaller journal/unix/journal.spec #--windowed
ruby rpgscript.rb scripts/ build/bandle/