Having bundle_zip default to LZMA compression meant it also applied to welcome-screen.zip. That's problematic since unzip can't handle that compression scheme. It's also unnecessary as welcome-screen.zip is only intended for releases. All of our apps will expand it into some location in their package, so the compression used is irrelevant.
Instead, make the default zlib deflate compression and explicitly request LZMA compression just for the channel templates. Note that the outer apps-bundle.zip is actually created with no compression, which is fine since it's entirely for distributing the already compressed channel templates.
I'm going to merge and tag this so we can consume it in the flatpak before we have any more major overhauls from the welcome-screen and internationalization work.
Having
bundle_zip
default to LZMA compression meant it also applied towelcome-screen.zip
. That's problematic sinceunzip
can't handle that compression scheme. It's also unnecessary aswelcome-screen.zip
is only intended for releases. All of our apps will expand it into some location in their package, so the compression used is irrelevant.Instead, make the default zlib deflate compression and explicitly request LZMA compression just for the channel templates. Note that the outer
apps-bundle.zip
is actually created with no compression, which is fine since it's entirely for distributing the already compressed channel templates.See https://github.com/endlessm/endless-key-flatpak/issues/26.