Repository navigation
fix crash on sleep by switching appimage runtime - #6130
Merged
Merged
Conversation
This also has the benefit of faster launch times Signed-off-by: Samuel <36420837+Samueru-sama@users.noreply.github.com>
mr-cheffy
approved these changes
Mar 7, 2025
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #4089 #3732 #4457
The uruntime is an alternative appimage runtime written in rust, it does not have the current bug that causes a crash on sleep, and it is fully 100% compliant to the appimage spec, including being static-pie which is not actually mentioned in the spec but needed for appimagelauncher to work.
It also has editable settings in the ELF that can change the mount behaviour, one of such is keeping the mount point, which means the appimage has launch times as fast as if it was a native application, for benchmarks see pkgforge-dev/ghostty-appimage#54
Review carefully please, I ran all the commands manually on my PC to make sure I had no errors in the steps but I can't be 100% sure without running the actual CI.
I also did a slight refactor by declaring
ARCH=${{ matrix.arch }}this way it is easy to read and there is no need to specify the arch when calling appimagetool, also moved the update information to its own variable to make it easier to read as well.Also removed the manual
--comp zstd --mksquashfs-opt -Xcompression-level --mksquashfs-opt 10flags since they were added to speed up the launch time slightly before by not going too high on the compression level, which isn't needed anymore, appimagetool defaults to zstd 15 when not specified.