From feb1b9622b955aebc978c202698a7af018292ed0 Mon Sep 17 00:00:00 2001 From: theboxyguy Date: Tue, 18 Aug 2026 10:41:28 +0300 Subject: [PATCH] making the installer create a venv folder if needed also added if statement that will skip installing pip packages if venv folder already exsist --- make-oneshot-linux.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/make-oneshot-linux.sh b/make-oneshot-linux.sh index f4410ef..4f5e9d4 100755 --- a/make-oneshot-linux.sh +++ b/make-oneshot-linux.sh @@ -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/