How domsvoboda/nexus-launcher works
Nexus Launcher is an Electron desktop launcher for Microsoft Store PC games on Linux. Users browse the library or Store, inspect titles, install and manage downloads, choose a runtime, then launch games; account sign-in, offline permissions, saves, diagnostics, and Xbox social features extend that journey. The renderer and main process divide interface from desktop/backend operations, with preload bridging them. The README documents capabilities beyond the sampled code, so those are represented as subsystems without speculative internal call chains; unsampled relationships are omitted.
Main entry points: App.tsx Launcher interface · game-launch.ts Game launch · runtime-families.ts Managed runtime families · main.tsx Renderer entry
Components 25
Desktop interface
- Launcher interface
src/renderer/App.tsx - Renderer entry
src/renderer/main.tsx - IPC bridge
src/preload/index.cts - Game details
src/renderer/GameDetails.tsx - Interface language
src/renderer/i18n.ts
Catalog and installs
- Store and library
src/renderer/App.tsx - Store catalog
src/main/store.ts - Nexus backend
src/main/backend.ts - Install queue
src/main/install-queue.ts - Licensed content
src/main/game-content.ts - Installation state
src/main/installation-state.ts
Game execution
- Runtime settings
src/main/runtime-settings.ts - Managed runtime families
src/main/runtime-families.ts - Runtime provisioning
src/main/runtime.ts - Proton integration
src/main/proton.ts - Game launch
src/main/game-launch.ts - Offline permissions
src/main/offline-access.ts
Account and services
- Sign-in flow
src/main/auth-protocol.ts - Browser sign-in
src/main/auth-browser.ts - Backend diagnostics
src/main/backend-diagnostics.ts - Cloud saves
src/main/game-process.ts
Xbox social
- Xbox social interface
src/renderer/XboxSocial.tsx - Xbox social transport
src/main/xbox-social-transport.ts - In-game overlay
src/main/xbox-overlay-shortcut.ts
Other components
- Player
Connections 24
- Player → Launcher interface: uses
- Renderer entry → Launcher interface: renders
src/renderer/main.tsx - Launcher interface → Game details: opens details
src/renderer/App.tsx - Renderer entry → Interface language: loads
src/renderer/main.tsx - Player → Store and library: browses titles
- Store and library → Store catalog: requests catalog
- Player → Install queue: queues installs
- Install queue → Nexus backend: downloads via
- Player → Licensed content: manages content
- Player → Runtime settings: chooses runtime
- Runtime settings → Managed runtime families: selects family
- Managed runtime families → Runtime provisioning: resolves build
- Player → Game launch: launches game
- Game launch → Managed runtime families: uses family
- Game launch → Proton integration: runs through
- Player → Browser sign-in: signs in
- Browser sign-in → Sign-in flow: validates URLs
src/main/auth-browser.ts - Player → Offline permissions: sets permissions
- Player → Backend diagnostics: opens diagnostics
- Player → Cloud saves: uses cloud saves
- Player → Xbox social interface: opens social
- Xbox social interface → Xbox social transport: communicates
- Player → In-game overlay: enables overlay
- Launcher interface → IPC bridge: uses IPC