I was looking into the size of Pinta flatpak with: flatpak list --app --columns=name,size | grep Pinta and the Pinta flatpak size is: "Pinta 102,6 MB". Which seems little bit too much for me.
I have entered Pinta flatpak with: flatpak run --command=bash com.github.PintaProject.Pinta
and then changed directory to /app directory where flatpak files are located for particular flatpak: cd /app
Now I have searched for the top 5 biggest files/dirs: du -S | sort -k1nr | head -n 5 and I got:
If Pinta is not using ASP, then we can reduce the size of Pinta flaptak by removing ASP from flatpak.
How? At last line of manifest file insert new line:
- /lib/dotnet/shared/Microsoft.AspNetCore.App/
Pinta shouldn't depends on AspNetCore so this is definitely worth a try to see if it works (not sure if there are any hidden dependencies that would cause errors if that folder doesn't exist at all)
I was looking into the size of Pinta flatpak with:
flatpak list --app --columns=name,size | grep Pinta
and the Pinta flatpak size is: "Pinta 102,6 MB". Which seems little bit too much for me.I have entered Pinta flatpak with:
flatpak run --command=bash com.github.PintaProject.Pinta
and then changed directory to /app directory where flatpak files are located for particular flatpak:cd /app
Now I have searched for the top 5 biggest files/dirs:
du -S | sort -k1nr | head -n 5
and I got:Now my questions:
If Pinta is not using ASP, then we can reduce the size of Pinta flaptak by removing ASP from flatpak. How? At last line of manifest file insert new line:
- /lib/dotnet/shared/Microsoft.AspNetCore.App/