mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 08:21:27 +00:00
AppImage: Remove Qt.so to prevent importing from PyQt5.Qt
Importing from PyQt5.Qt is an unnecessary fallback that loads every PyQt5 module. ----- taken from Electron-Cash/Electron-Cash@d69471b31d
This commit is contained in:
parent
c3b92aa13a
commit
5afda62ee3
1 changed files with 2 additions and 0 deletions
|
@ -187,6 +187,8 @@ rm -rf "$APPDIR"/usr/lib/python3.6/site-packages/PyQt5/Qt/lib/libQt5Quick*
|
||||||
rm -rf "$APPDIR"/usr/lib/python3.6/site-packages/PyQt5/Qt/lib/libQt5Location*
|
rm -rf "$APPDIR"/usr/lib/python3.6/site-packages/PyQt5/Qt/lib/libQt5Location*
|
||||||
rm -rf "$APPDIR"/usr/lib/python3.6/site-packages/PyQt5/Qt/lib/libQt5Test*
|
rm -rf "$APPDIR"/usr/lib/python3.6/site-packages/PyQt5/Qt/lib/libQt5Test*
|
||||||
rm -rf "$APPDIR"/usr/lib/python3.6/site-packages/PyQt5/Qt/lib/libQt5Xml*
|
rm -rf "$APPDIR"/usr/lib/python3.6/site-packages/PyQt5/Qt/lib/libQt5Xml*
|
||||||
|
rm -rf "$APPDIR"/usr/lib/python3.6/site-packages/PyQt5/Qt.so
|
||||||
|
|
||||||
|
|
||||||
# these are deleted as they were not deterministic; and are not needed anyway
|
# these are deleted as they were not deterministic; and are not needed anyway
|
||||||
find "$APPDIR" -path '*/__pycache__*' -delete
|
find "$APPDIR" -path '*/__pycache__*' -delete
|
||||||
|
|
Loading…
Add table
Reference in a new issue