How pkgforge-dev/fex-emu-appimage works
Purpose and Scope
This is a packaging repository, not the FEX emulator itself. It builds and distributes a portable FEX-Emu AppImage for Linux, intended to bundle runtime dependencies and run without FUSE through uruntime. The project is explicitly work-in-progress.
Primary Entry Points
• make-appimage.sh is the local packaging entry point: it likely assembles FEX and its dependencies into an AppImage.
• get-dependencies.sh is the dependency-acquisition stage used before packaging.
• LATEST_VERSION provides the version/release input consumed by build or release automation.
Build Pipeline
The core control flow is dependency retrieval followed by AppImage assembly:
1. Obtain required upstream artifacts and libraries via get-dependencies.sh.
2. Package the resulting application payload through make-appimage.sh.
3. Produce an AppImage using Sharun and the Quick-Sharun wrapper, with uruntime enabling execution without FUSE.
Relevant paths: get-dependencies.sh, make-appimage.sh, LATEST_VERSION.
Packaging Boundary
The repository’s boundary is the portable binary artifact: it wraps upstream FEX-Emu rather than implementing emulator logic. FEX-Emu is an external upstream dependency; Sharun, Quick-Sharun, and uruntime are external packaging/runtime dependencies. The delivered AppImage is expected to encapsulate system libraries and runtime behavior for broad Linux compatibility, including older and musl-based distributions.
Relevant paths: make-appimage.sh, get-dependencies.sh.
CI and Release Automation
GitHub Actions supplies the automated build/release boundary:
• Stable AppImage builds run through .github/workflows/appimage.yml.
• Nightly builds run through .github/workflows/appimage-nightly.yml.
These workflows are the likely artifact publication path to GitHub Releases, reflected by the README’s stable/latest release links.
Update Model
Built artifacts include a self-updater that can notify users of newer releases. The updater is intended to disable itself when recognized AppImage package managers are present, delegating update management to those tools. This is artifact runtime behavior rather than a repository-hosted service.
Infrastructure and External Services
Material infrastructure is GitHub Actions and GitHub Releases. External software/services include upstream FEX-Emu, Sharun, Quick-Sharun, uruntime, and optional external AppImage managers. Repository maintenance metadata and issue intake are hosted under .github/, including .github/ISSUE_TEMPLATE/report-bug.md.
Main entry points: make-appimage.sh AppImage assembly · get-dependencies.sh Dependency acquisition · appimage.yml Stable build · appimage-nightly.yml Nightly build
Components 15
Local packaging
- Release version
LATEST_VERSION - Dependency acquisition
get-dependencies.sh - AppImage assembly · Packages the FEX payload and bundled dependencies.
make-appimage.sh - Portable FEX AppImage · Runs without FUSE through uruntime.
- Built-in updater · Defers updates when an AppImage manager is detected.
CI and release
- Stable build
.github/workflows/appimage.yml - Nightly build
.github/workflows/appimage-nightly.yml - GitHub Releases
- Bug report intake
.github/ISSUE_TEMPLATE/report-bug.md
External dependencies
- Upstream FEX-Emu · Emulator payload packaged by this repository.
- Runtime libraries · Libraries bundled for broad Linux compatibility.
- Sharun
- Quick-Sharun
- uruntime · Enables AppImage execution without FUSE.
- AppImage managers
Connections 17
- Upstream FEX-Emu → Dependency acquisition: retrieve
- Runtime libraries → Dependency acquisition: retrieve
- Dependency acquisition → AppImage assembly: provides payload
- Release version → AppImage assembly: version
- Sharun → AppImage assembly: builds with
- Quick-Sharun → AppImage assembly: wraps
- uruntime → AppImage assembly: bundles runtime
- AppImage assembly → Portable FEX AppImage: produces
- Portable FEX AppImage → Built-in updater: includes
- AppImage managers → Built-in updater: disables when detected
- Stable build → Dependency acquisition: runs
- Stable build → AppImage assembly: runs
- Nightly build → Dependency acquisition: runs
- Nightly build → AppImage assembly: runs
- Stable build → GitHub Releases: publishes stable
- Nightly build → GitHub Releases: publishes nightly
- GitHub Releases → Portable FEX AppImage: distributes