Expand description
Library backing the appimagetool CLI. Builds AppImages from an AppDir:
resolves a uruntime, patches its ELF sections, builds a DWARFS image, and
emits the final AppImage plus optional zsync control file.
Most callers want appimage::build with a config::Config.
Modules§
- appimage
- Top-level AppImage build pipeline: validate the AppDir, resolve runtime
and
mkdwarfs, optionally run the DWARFS profiling pass, and emit the final.AppImageplus optional.zsyncandappinfo. - config
- Resolved build configuration plus the
CliArgsinput that produces it. - desktop
- Parse and edit
.desktopentry files inside an AppDir. - dwarfs
- Build DWARFS filesystem images and run the optional profiling pass that
feeds
--categorize=hotnessinto the final image. - elf
- Minimal, panic-resistant ELF section reader/writer used to inspect and patch the embedded uruntime. Only handles ET_EXEC/ET_DYN section headers — enough to find named sections and rewrite their contents in place.
- error
- Crate-wide error type. All public fallible APIs return
Result<T>. - log
- Verbosity-gated stderr logger driven by a single global level. Use the
[
log_debug], [log_info], [log_warn], and [log_error] macros from the crate root rather than callingdebug/info/warn/errordirectly when you want lazy formatting. - uruntime
- Resolve the uruntime binary (cache or download) and patch its ELF sections
to carry the build’s
upd_info, env vars, and mount-mode marker. - util
- Shared helpers: HTTP downloads with retry + atomic rename, filename sanitization, ELF magic detection, and per-process tmp paths.