From 4ef447f7f02c327fffb4afc39b38fbd972953e11 Mon Sep 17 00:00:00 2001 From: theboxyguy Date: Tue, 18 Aug 2026 08:57:22 +0300 Subject: [PATCH 1/4] creating venv folder and make it more linux friendly it will check if venv folder exsist if not it will skip it --- make-oneshot-linux.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/make-oneshot-linux.sh b/make-oneshot-linux.sh index f4410ef..506c96a 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 ../.. + +#creating venv and installing python packages if not exsist +if [ ! -d "venv" ]; then + echo "Creating venv folder and install pip packages" + python3 -m venv venv + # the pakages themselves + pip install --upgrade pip + pip install pyqt5 pyinstaller +else + echo "The 'venv' folder already exists." +fi + pyinstaller journal/unix/journal.spec #--windowed ruby rpgscript.rb scripts/ build/bandle/ From d7ace815a45e6d3cb4db0b4a0f838c59072433f3 Mon Sep 17 00:00:00 2001 From: theboxyguy Date: Tue, 18 Aug 2026 10:36:20 +0300 Subject: [PATCH 2/4] revert 4ef447f7f02c327fffb4afc39b38fbd972953e11 revert creating venv folder and make it more linux friendly it will check if venv folder exsist if not it will skip it --- make-oneshot-linux.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/make-oneshot-linux.sh b/make-oneshot-linux.sh index 506c96a..f4410ef 100755 --- a/make-oneshot-linux.sh +++ b/make-oneshot-linux.sh @@ -22,18 +22,6 @@ mkdir -p build/bandle/Data #cp "$STEAMWORKS_PATH/redistributable_bin/linux64/libsteam_api.so" . #make -j${make_threads} > steamshim.make.out #cd ../.. - -#creating venv and installing python packages if not exsist -if [ ! -d "venv" ]; then - echo "Creating venv folder and install pip packages" - python3 -m venv venv - # the pakages themselves - pip install --upgrade pip - pip install pyqt5 pyinstaller -else - echo "The 'venv' folder already exists." -fi - pyinstaller journal/unix/journal.spec #--windowed ruby rpgscript.rb scripts/ build/bandle/ From feb1b9622b955aebc978c202698a7af018292ed0 Mon Sep 17 00:00:00 2001 From: theboxyguy Date: Tue, 18 Aug 2026 10:41:28 +0300 Subject: [PATCH 3/4] 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/ From 5ec49b7a270d5d47922adb7cdea0080fa4e77c30 Mon Sep 17 00:00:00 2001 From: theboxyguy Date: Tue, 18 Aug 2026 10:46:03 +0300 Subject: [PATCH 4/4] forgot to add "deactivate" at the end --- make-oneshot-linux.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/make-oneshot-linux.sh b/make-oneshot-linux.sh index 4f5e9d4..4ddf992 100755 --- a/make-oneshot-linux.sh +++ b/make-oneshot-linux.sh @@ -35,6 +35,7 @@ else source venv/bin/activate fi pyinstaller journal/unix/journal.spec #--windowed +deactivate ruby rpgscript.rb scripts/ build/bandle/ cp -r dist/_______/* build/bandle/