Updating build script for newest pyinstaller version.

This commit is contained in:
Adsooi 2023-10-09 22:26:50 +02:00
parent 2b5d442d3a
commit 062fde6b16
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -21,10 +21,10 @@ DRIVEC="${WINEPREFIX:-$HOME/.wine}/drive_c"
PYSIDE6PATH="${PYSIDE6PATH%$'\r'}" PYSIDE6PATH="${PYSIDE6PATH%$'\r'}"
PYSIDE6PATH="${PYSIDE6PATH//\\/\/}" PYSIDE6PATH="${PYSIDE6PATH//\\/\/}"
PYSIDE6PATH="${PYSIDE6PATH//C:/$DRIVEC}" PYSIDE6PATH="${PYSIDE6PATH//C:/$DRIVEC}"
cp "$PYSIDE6PATH/Qt6ShaderTools.dll" dist/logarithmplotter/PySide6/ cp "$PYSIDE6PATH/Qt6ShaderTools.dll" dist/logarithmplotter/_internal/PySide6/
# Remove QtWebEngine # Remove QtWebEngine
rm dist/logarithmplotter/PySide6/Qt6WebEngineCore.dll rm dist/logarithmplotter/_internal/PySide6/Qt6WebEngineCore.dll
# Remove the QtQuick styles that are unused # Remove the QtQuick styles that are unused
rm -rf dist/logarithmplotter/PySide6/qml/QtQuick/Controls/{Imagine,Material,designer} rm -rf dist/logarithmplotter/_internal/PySide6/qml/QtQuick/Controls/{Imagine,Material,designer}