Files
millerson-overlay.nix/packages
alex 5310b47924
CI / check (push) Has been cancelled
feat(pilotdeck): build Electron desktop app from source
Replace the prebuilt .deb web-only package with the real Electron
application built from upstream v2026.10.17:

- compile apps/desktop main process (tsc) and launch it with
  nixpkgs electron_42 in app-dir mode; upstream env overrides
  (PILOTDECK_DESKTOP_RUNTIME_ROOT, PILOTDECK_DESKTOP_NODE) select the
  staged runtime and bundled Node.js
- replicate the upstream runtime staging (build-runtime.mjs): prod-only
  hoisted node_modules from the dedicated runtime lockfile via a second
  fetchPnpmDeps, dist/skills/ui tree, source-import rewrite, pinned Cua
  driver, upstream runtime verification probes
- share electron-updater into the app by expanding pnpm virtual store
  scopes of its dependency closure
- wrap bin/pilotdeck (desktop, --no-sandbox, ozone hint auto) and keep
  bin/pilotdeck-server (headless web server) on the same runtime
- add pilotdeck.desktop entry, hicolor icon, startupWMClass

Verified: nix build passes, app launches under Xvfb reaching
"PilotDeck Web UI ready" with the window mapped as WM_CLASS
pilotdeck-desktop; headless server answers on :3001.
2026-10-20 00:13:31 +03:00
..