mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-09 06:40:13 +00:00
Reduce Python size in AppImage
This commit is contained in:
parent
8849f25a8d
commit
5f991f5a98
@ -80,6 +80,10 @@ after_success:
|
||||
sudo chown -R $USER appdir &&
|
||||
cp -r /usr/share/radare2 appdir/usr/share/ &&
|
||||
cp -RT "$CUSTOM_PYTHON_PREFIX" appdir/usr/ &&
|
||||
cd appdir/usr/ &&
|
||||
find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf &&
|
||||
rm -r lib/python3.6/test lib/python3.6/idlelib lib/python3.6/curses lib/python3.6/lib2to3 &&
|
||||
cd ../.. &&
|
||||
wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" &&
|
||||
chmod a+x linuxdeployqt*.AppImage &&
|
||||
unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH &&
|
||||
|
Loading…
Reference in New Issue
Block a user