Moving scripts to their own dedicated directory.

This commit is contained in:
Adsooi 2022-01-26 19:48:46 +01:00
parent 5bad125c44
commit faae76fbbd
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
9 changed files with 16 additions and 4 deletions

14
scripts/build-wine.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/bash
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
# Giving pyinstaller another run
rm $(find . -name "*.qmlc")
rm -rf $(find . -name "*.pyc")
wine python -m pip install -U pyinstaller
# Building translations
cd "LogarithmPlotter/i18n/"
bash release.sh
cd ../../
wine pyinstaller --add-data "logplotter.svg;." --add-data "LogarithmPlotter/qml;qml" --add-data "LogarithmPlotter/i18n;i18n" --noconsole LogarithmPlotter/logarithmplotter.py --icon=win/logarithmplotter.ico -n logarithmplotter