I’ll be working on reducing the Flatpak size for KDE apps for a few days or weeks.
If I make a mistake, I want you to know that it wasn’t intentional, that it was just a mistake, and that I make mistakes very often.
Usual culprits
cleanup
- /include
- /lib/cmake
- /lib/debug (some developers remove this folder, we need to keep them)
- /share/docs (KDE apps usually open related website, not depend on internal files)
- /share/man
- "*.la"
- "*a"
- any examples
io.qt.qtwebengine.BaseApp related apps should include the following command
"cleanup-commands": [
"/app/cleanup-BaseApp.sh"
],