LogarithmPlotter/scripts/build-wine.sh

15 lines
511 B
Bash
Raw Permalink Normal View History

#!/bin/bash
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
# Giving pyinstaller another run
rm $(find . -name "*.qmlc")
2022-01-24 18:27:02 +00:00
rm -rf $(find . -name "*.pyc")
wine python -m pip install -U pyinstaller
2022-01-24 15:16:58 +00:00
# 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