Skip to content

Add App image support - #249

Open
shirshak55 wants to merge 2 commits into
libracoder:mainfrom
shirshak55:main
Open

shirshak55 wants to merge 2 commits into
libracoder:mainfrom
shirshak55:main

Conversation

@shirshak55

@shirshak55 shirshak55 commented Nov 15, 2026 •

Copy link
Copy Markdown

Add app image support.

How you tested it

I tested it on real machine.

Tested on: Ubuntu Linux

How you found it

  • [ x ] I use Kiri and ran into this myself

AI tools used to write this change: Yes, to review and write shell script.

Checklist

  • [ x ] I have at most 3 pull requests open on Kiri, this one included
  • [ x ] cargo fmt, cargo clippy and the tests pass
  • [ ] It works on macOS, Windows and Linux, or the change only touches one of them - It should only touch linux and shouldn't touch other OS.

Closes #251

AndreKurait added a commit to AndreKurait/asagiri that referenced this pull request Nov 15, 2026
Build the pinned runtime from included sources with a private extraction
directory for each invocation. Verify directory and AppRun ownership before
execution, ignore untrusted temporary-directory settings for elevated setup,
and keep files until the owning child has exited, including interrupted waits.
Reject missing AppImage setup payloads instead of silently choosing host files.

Exercise the packaged runtime's concurrent launches, exit and signal cleanup,
unsafe parents, and malformed AppRun files. Elevated setup validation uses
unchanged non-executable fixture data and an absent account; it never installs
the application or executes a prepopulated test program.

Related upstream: libracoder/kiri#249
Pinned runtime: AppImage/type2-runtime@dd6cebe
Fixes review findings on #35

Signed-off-by: Andre Kurait <akurait@amazon.com>
(cherry picked from commit 7995e88914c46da7c7ce7bac4fe039480f857bf7)
Signed-off-by: Andre Kurait <akurait@amazon.com>
@libracoder

Copy link
Copy Markdown
Owner

@shirshak55 thanks for this PR. Before it can be reviewed and merged, every commit needs to be signed. GitHub shows these as unsigned: 978655f. Please sign them (GPG or SSH, with the key added to your GitHub account as a signing key), then force-push. GitHub's guide: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits

@shirshak55
shirshak55 force-pushed the main branch 2 times, most recently from 21e354d to 2386891 Compare November 17, 2026 14:24
@shirshak55

Copy link
Copy Markdown
Author

@libracoder done.

@libracoder libracoder added enhancement New feature or request Linux setup/install labels Nov 19, 2026 — with Claude
@libracoder libracoder added the packaging App packaging (deb, AppImage, Flatpak, Nix, installers): tested by hand, not settled by CI label Nov 21, 2026
@xmha97

xmha97 commented Nov 23, 2026 •

Copy link
Copy Markdown

It would be great to include support for AppImage updates via zsync.

Could you also add the relevant X-AppImage-* metadata to the generated .desktop file, particularly X-AppImage-UpdateInformation, so tools such as AppImageUpdate and AppManager can detect the update information and manage updates properly?

This would make the AppImage distribution more complete and improve compatibility with existing AppImage update tools.

@shirshak55

Copy link
Copy Markdown
Author

@xmha97 thanks, it is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Linux packaging App packaging (deb, AppImage, Flatpak, Nix, installers): tested by hand, not settled by CI setup/install

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AppImage or Flatpak Version

3 participants