codex-app-linux-publisher
v0.0.0
Published
Build and publish Linux Codex desktop app repacks.
Readme
codex-app-linux
Build/publish repo for the Linux Codex desktop release flow.
Current shape:
- tracks upstream desktop appcast feeds for
prodandbeta - rebuilds the upstream desktop app for Linux x64
- emits
linux-unpackedandAppImage - publishes a thin npm launcher package
- expects users to already have
codexinstalled
Commands
npm test
npm run release:prod
npm run release:betaManual local build against the golden beta asset:
node scripts/release-channel.mjs \
--channel beta \
--archive "__golden__/Codex (Beta)-darwin-arm64-26.311.30926.zip"Distribution Model
GitHub Releases:
- source of truth for Linux desktop artifacts
- uploads
AppImage - uploads a tarball of
linux-unpacked
npm:
- publishes
codex-app-linux - acts as a thin launcher
- downloads the matching
AppImagefrom GitHub Releases on first run
Launcher behavior:
- uses existing
CODEX_CLI_PATHif set - otherwise sets
CODEX_CLI_PATHfromwhich codex - errors if neither is available
- sets
APPIMAGE_EXTRACT_AND_RUN=1by default for broader compatibility - AppImage and
linux-unpackedbinaries also perform the samecodexlookup at launch
GitHub Actions
Workflow: .github/workflows/release.yml
- scheduled twice daily
- checks both upstream channels
- builds
linux-unpackedandAppImage - creates/releases tagged GitHub assets
- publishes
latestfor prod,betafor beta
Nix
This repo also includes a flake.nix with:
devShells.defaultfor local release workapps.release-prodfornix run .#release-prodapps.release-betafornix run .#release-beta
