Reducing the size of my flatpak which uses PyQt6 and webengine

I recently switched from GTK3 to PyQt6 and the size of my app increased (the python and html files should just be a couple of MBs, but currently it is about 135 MB). Most likely it is bundling something that can probably be used as a shared resource (just like the KDE SDK).

Is there any way to reduce it?

Here is my manifest file io.github.archisman_panigrahi.typhoon/io.github.archisman_panigrahi.typhoon.json at master · flathub/io.github.archisman_panigrahi.typhoon · GitHub

pyqt uses webengine which is very big dependency. It’s not clear to me whether your app uses webengine or not. If it does then not much you can do. If it doesn’t you may cleanup it by following instructions.

My app uses webengine

But, is there no way this dependency can be made a separate package (just like org.kde.sdk is a separate package) such that not all app updates require the user to download it?

One of flatpak features is deduplication so users download only bits of software that were changed.

I verified that it works. I am relieved to know that.

This topic was automatically closed after 3 days. New replies are no longer allowed.