chore(build): clean appimage more agressive
Some checks failed
Code and build check / Build with uv (push) Has been cancelled
Code and build check / Check code (push) Has been cancelled

Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
2025-07-18 00:14:45 +05:00
parent 30b4cec4d1
commit 22b580461e

View File

@ -64,6 +64,19 @@ AppDir:
PYTHONPATH: '${APPDIR}/usr/local/lib/python3.10/dist-packages' PYTHONPATH: '${APPDIR}/usr/local/lib/python3.10/dist-packages'
PERLLIB: '${APPDIR}/usr/share/perl5:${APPDIR}/usr/lib/x86_64-linux-gnu/perl/5.34:${APPDIR}/usr/share/perl/5.34' PERLLIB: '${APPDIR}/usr/share/perl5:${APPDIR}/usr/lib/x86_64-linux-gnu/perl/5.34:${APPDIR}/usr/share/perl/5.34'
after_bundle:
# Документация, справка, примеры
- rm -rf AppDir/usr/share/{man,doc,info,help,gtk-doc,devhelp,examples,pkgconfig} || true
- rm -rf AppDir/usr/include || true
- rm -rf AppDir/usr/lib/pkgconfig || true
# Статика и отладка
- find AppDir -type f \( -name '*.a' -o -name '*.la' -o -name '*.h' -o -name '*.cmake' -o -name '*.pdb' \) -delete || true
# Strip ELF бинарников
- find AppDir -type f -executable -exec file {} \; | grep ELF | cut -d: -f1 | xargs strip --strip-unneeded || true
AppImage: AppImage:
sign-key: None sign-key: None
arch: x86_64 arch: x86_64