mirror of https://gitlab.com/pamhyr/pamhyr2
Package: Linux, Wine: Add tanslate files and minor change.
parent
0a5df00c77
commit
54a9418474
|
|
@ -1,14 +1,19 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
|
echo " *** RM OLD ENV"
|
||||||
|
|
||||||
|
rm dist/ -rf
|
||||||
|
rm pamhyrBuild -rf
|
||||||
|
|
||||||
echo " *** SETUP ENV"
|
echo " *** SETUP ENV"
|
||||||
|
|
||||||
python3 -m venv pamhyrBuild
|
python3 -m venv pamhyrBuild
|
||||||
source pamhyrBuild/bin/activate
|
. pamhyrBuild/bin/activate
|
||||||
pip3 install -r ../requirements.txt
|
pip3 install -r ../requirements.txt
|
||||||
|
|
||||||
echo " *** PYINSTALL"
|
echo " *** PYINSTALL"
|
||||||
|
|
||||||
pyinstaller --paths pamhyrBuild/lib/python3.8/site-packages ../src/pamhyr.py
|
pyinstaller -y --paths pamhyrBuild/lib/python3.8/site-packages ../src/pamhyr.py
|
||||||
|
|
||||||
echo " *** COPY DATA"
|
echo " *** COPY DATA"
|
||||||
|
|
||||||
|
|
@ -17,6 +22,9 @@ cp -r ../src/View/ui/ressources/ dist/pamhyr/View/ui/
|
||||||
cp -r ../src/View/ui/Widgets/*.ui dist/pamhyr/View/ui/
|
cp -r ../src/View/ui/Widgets/*.ui dist/pamhyr/View/ui/
|
||||||
cp -r ../src/View/ui/*.ui dist/pamhyr/View/ui/
|
cp -r ../src/View/ui/*.ui dist/pamhyr/View/ui/
|
||||||
|
|
||||||
|
mkdir -p dist/pamhyr/lang
|
||||||
|
cp -r ../src/lang/*.qm dist/pamhyr/lang/
|
||||||
|
|
||||||
echo " *** MAKE PACKAGE"
|
echo " *** MAKE PACKAGE"
|
||||||
|
|
||||||
OLD_PWD=$PWD
|
OLD_PWD=$PWD
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ then
|
||||||
DISPLAY=:42.0 wine cmd /c python-3.8.10-amd64.exe /quiet PrependPath=1
|
DISPLAY=:42.0 wine cmd /c python-3.8.10-amd64.exe /quiet PrependPath=1
|
||||||
wine python $WINEPREFIX/drive_c/Program\ Files/Python38/Tools/scripts/win_add2path.py
|
wine python $WINEPREFIX/drive_c/Program\ Files/Python38/Tools/scripts/win_add2path.py
|
||||||
wine python -m pip install pyinstaller
|
wine python -m pip install pyinstaller
|
||||||
|
|
||||||
DISPLAY=:42.0 wine cmd /c nsis-3.08-setup.exe /quiet
|
DISPLAY=:42.0 wine cmd /c nsis-3.08-setup.exe /quiet
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -40,6 +39,9 @@ cp -r ../src/View/ui/ressources/ dist/pamhyr/View/ui/
|
||||||
cp -r ../src/View/ui/Widgets/*.ui dist/pamhyr/View/ui/
|
cp -r ../src/View/ui/Widgets/*.ui dist/pamhyr/View/ui/
|
||||||
cp -r ../src/View/ui/*.ui dist/pamhyr/View/ui/
|
cp -r ../src/View/ui/*.ui dist/pamhyr/View/ui/
|
||||||
|
|
||||||
|
mkdir -p dist/pamhyr/lang
|
||||||
|
cp -r ../src/lang/*.qm dist/pamhyr/lang/
|
||||||
|
|
||||||
echo " *** MAKE PACKAGES"
|
echo " *** MAKE PACKAGES"
|
||||||
|
|
||||||
echo " TAR pamhyr-win-amd64.tar.xz"
|
echo " TAR pamhyr-win-amd64.tar.xz"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue