2021-06-22 01:33:42 +02:00
|
|
|
#!/bin/bash
|
2022-01-26 19:48:46 +01:00
|
|
|
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
|
|
|
|
|
2021-06-22 01:33:42 +02:00
|
|
|
# Giving pyinstaller another run
|
|
|
|
rm $(find . -name "*.qmlc")
|
2022-01-24 19:27:02 +01:00
|
|
|
rm -rf $(find . -name "*.pyc")
|
2021-06-22 01:33:42 +02:00
|
|
|
wine python -m pip install -U pyinstaller
|
2022-01-20 18:19:36 +01:00
|
|
|
|
2022-01-24 16:16:58 +01:00
|
|
|
# Building translations
|
2022-01-20 18:19:36 +01:00
|
|
|
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
|