mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
Merge pull request 'making linux installer create venv folder if needed' (#97) from theboxyguy/mkxp-sunshine:master into master
Reviewed-on: https://code.nikooneshot.ru/Sunshine/mkxp-sunshine/pulls/97
This commit is contained in:
commit
fdf0cd7185
1 changed files with 13 additions and 0 deletions
|
|
@ -22,7 +22,20 @@ mkdir -p build/bandle/Data
|
||||||
#cp "$STEAMWORKS_PATH/redistributable_bin/linux64/libsteam_api.so" .
|
#cp "$STEAMWORKS_PATH/redistributable_bin/linux64/libsteam_api.so" .
|
||||||
#make -j${make_threads} > steamshim.make.out
|
#make -j${make_threads} > steamshim.make.out
|
||||||
#cd ../..
|
#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
|
pyinstaller journal/unix/journal.spec #--windowed
|
||||||
|
deactivate
|
||||||
ruby rpgscript.rb scripts/ build/bandle/
|
ruby rpgscript.rb scripts/ build/bandle/
|
||||||
|
|
||||||
cp -r dist/_______/* build/bandle/
|
cp -r dist/_______/* build/bandle/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue