I thought I pushed the updated script for macOS, but it looks like I didn't.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
19e403ce98
commit
df3e7d4796
1 changed files with 14 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
|
||||
DIR="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
cd "$DIR/.."
|
||||
|
||||
|
||||
rm $(find . -name "*.qmlc")
|
||||
|
@ -30,3 +31,15 @@ pyinstaller --add-data "LogarithmPlotter/qml:qml" \
|
|||
LogarithmPlotter/logarithmplotter.py
|
||||
|
||||
cp mac/Info.plist dist/LogarithmPlotter.app/Contents/Info.plist
|
||||
|
||||
# Remove QtWebEngine, 3D and all other unused libs libs
|
||||
rm -rf dist/LogarithmPlotter.app/Contents/MacOS/{QtWeb*,*3D*,QtRemote*,QtPdf,QtCharts,QtLocation,QtTest,QtNetwork,QtMultimedia,QtSpatialAudio,QtDataVisualization,QtQuickParticles,QtChartsQml,QtScxml,QtDataVisualizationQml,QtTest,QtPositioningQuick,QtQuickTest,QtSql,QtSensorsQuick}
|
||||
rm -rf dist/LogarithmPlotter.app/Contents/MacOS/PySide6/{QtNetwork.abi3.so}
|
||||
|
||||
# Removing QtQuick3D
|
||||
rm -rf dist/LogarithmPlotter.app/Contents/MacOS/PySide6/Qt/qml/QtQuick3D
|
||||
rm -rf dist/LogarithmPlotter.app/Contents/MacOS/PySide6/Qt/qml/Qt3D
|
||||
rm -rf dist/LogarithmPlotter.app/Contents/MacOS/PySide6/Qt/qml/QtWebEngine
|
||||
|
||||
# Remove the QtQuick styles that are unused
|
||||
rm -rf dist/LogarithmPlotter.app/Contents/MacOS/PySide6/Qt/qml/QtQuick/Controls/{Imagine,Material,iOS,Universal,Fusion,designer}
|
||||
|
|
Loading…
Reference in a new issue