How mrskelee/quantumplay works
QuantumPlay is an Electron desktop game launcher. Users complete onboarding, scan supported launchers or add games manually, organize and browse a library, then launch games and review play statistics; settings cover themes, language, library and system behavior. The graph preserves documented scanning integrations and product features, but several are represented at their existing directory level because their implementation excerpts were not provided. Edges are limited to relationships visible in excerpts or stated in the README.
Main entry points: App.tsx Application shell · AppProvider.tsx App state & preferences · main.ts Electron main process · Settings.tsx Settings screen
Components 21
Desktop Runtime
- App state & preferences
src/contexts/AppProvider.tsx - JSON game database
electron/db.ts - Electron main process
electron/main.ts - Renderer IPC bridge
electron/preload.ts
Game Library
- Game library view
src/pages/Library.tsx - Game details
src/pages/GameDetail.tsx - Manual game entry
src/pages/AddGame.tsx - Game editor
src/components/EditGameModal.tsx - Library context menu
src/components/ContextMenu.tsx - Installed-game scanner
electron/scanner.ts
Launcher Interface
- Application shell
src/App.tsx - Welcome onboarding
src/components/WelcomeScreen.tsx - Sidebar & categories
src/components/Sidebar.tsx - Shared modal UI
src/components/BaseModal.tsx
Settings & Personalization
- Settings screen
src/pages/Settings.tsx - Translations
src/i18n.ts
Other components
- Player
- Installed launchers
- Game process
- Desktop OS
- Theme presets
Connections 32
- Player → Welcome onboarding: starts onboarding
- Application shell → Welcome onboarding: shows first
src/App.tsx - Application shell → Sidebar & categories: renders
src/App.tsx - Application shell → Game library view: routes to
src/App.tsx - Application shell → Game details: routes to
src/App.tsx - Application shell → Settings screen: routes to
src/App.tsx - Application shell → Manual game entry: routes to
src/App.tsx - Application shell → App state & preferences: wraps UI
src/App.tsx - Application shell → Installed-game scanner: requests startup scan
src/App.tsx - Application shell → App state & preferences: refreshes games
src/App.tsx - App state & preferences → Translations: uses translations
src/contexts/AppProvider.tsx - App state & preferences → Renderer IPC bridge: loads settings and games
src/contexts/AppProvider.tsx - Sidebar & categories → App state & preferences: reads game state
src/components/Sidebar.tsx - Game library view → App state & preferences: reads library state
src/pages/Library.tsx - Game library view → Library context menu: renders
src/pages/Library.tsx - Game details → App state & preferences: reads and updates games
src/pages/GameDetail.tsx - Game details → Game editor: opens editor
src/pages/GameDetail.tsx - Manual game entry → App state & preferences: uses app state
src/pages/AddGame.tsx - Game editor → App state & preferences: uses app state
src/components/EditGameModal.tsx - Settings screen → App state & preferences: updates preferences
src/pages/Settings.tsx - Settings screen → Shared modal UI: uses shared modal
- Renderer IPC bridge → Electron main process: forwards IPC
- Electron main process → Installed-game scanner: invokes scan
electron/main.ts - Electron main process → JSON game database: reads and writes games
electron/main.ts - Electron main process → Game process: launches and monitors
electron/main.ts - Electron main process → Desktop OS: controls tray and window
- Installed-game scanner → Installed launchers: detects installations
README.md - Player → Manual game entry: adds custom games
README.md - Player → Game library view: organizes library
README.md - Settings screen → Theme presets: chooses or customizes
README.md - Player → Game details: launches or ends game
README.md - JSON game database → Settings screen: persists theme settings
README.md