Revert back to the old AppImageKit runtime #257
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
RFC. Feel free to close this PR if it's not going in the direction you want.
It turns out that the new AppImage runtime does not play nice with an external tool called AppImageLauncher, which simply doesn't seem to support the type-2 runtime: AppImage/type2-runtime#12
Resulting in many projects experiencing issues:
We've tried zstd (new default) and zlib, and the problem can't be resolved by changing the compressor - AppImageLauncher is simply incompatible with the type-2 runtime.
Velopack switched to type-2 upon our request, because we wanted to use
zstdcompression. This was my mistake, because we were actually usingzlib. The PRs involved were:This PR partially reverts the above:
xz, the previous default. The idea here is to revert to what was known to work well for Velopack, but I can change togzipupon rqeuest.xzcompressor args, as per previous implementation, and which are good defaults according toAppImageKit. I'm not sure what to do about the Windows path here, but it might be fine not specifying any args as this is what was originally there. Of note, 128K is the default block size [1] [2]gzip.I have tested both
gzipandxzcompressed apps to run, however I have not tested in conjunction withAppImageLauncher.