How akyrayy/akylauncher works
AkyLauncher is an Electron desktop launcher for Minecraft. The user selects or creates a profile, chooses a game version, and launches; the launcher prepares Java and game files, then streams progress and logs to the UI. The renderer also exposes profile, mod, settings, theme, console, and (in the current source tree) hosting, server, and world features. The IPC router is the main-process dispatch layer. Some feature modules are represented from the source index and README rather than inspected implementation; edges are limited to documented or indexed relationships.
Main entry points: router.ts IPC router · App.tsx Screen shell · store.ts Renderer state · bootstrap.ts Bootstrap and launch
Components 34
Desktop interface
- Screen shell
src/renderer/src/App.tsx - Home and launch
src/renderer/src/screens/Home.tsx - Version picker
src/renderer/src/screens/Versions.tsx - Profiles UI
src/renderer/src/screens/Profiles.tsx - Mod catalog UI
src/renderer/src/screens/Mods.tsx - Settings UI
src/renderer/src/screens/Settings.tsx - Game console
src/renderer/src/screens/Console.tsx - Hosting UI
src/renderer/src/screens/Hosting.tsx - Servers UI
src/renderer/src/screens/Servers.tsx - Worlds UI
src/renderer/src/screens/Worlds.tsx - Renderer state
src/renderer/src/state/store.ts
IPC boundary
- Renderer bridge
src/renderer/src/bridge.ts - Preload API
src/preload/index.ts - IPC router
src/main/ipc/router.ts - Electron main
src/main/index.ts
Game lifecycle
- Bootstrap and launch
src/main/core/bootstrap.ts - Version management
src/main/core/versions.ts - Java runtime
src/main/core/java.ts - Game downloads
src/main/core/download.ts
Profiles and content
- Game instances
src/main/core/instances.ts - Player profiles
src/main/core/profiles.ts - Modrinth catalog
src/main/core/modrinth.ts - Modpack import
src/main/core/mrpack.ts - World management
src/main/core/worlds.ts - Server management
src/main/core/servers.ts - Server hosting
src/main/core/hosting.ts
Integrations and tools
- Launcher settings
src/main/core/settings.ts - Offline authentication
src/main/core/auth.ts - Skin management
src/main/core/skins.ts - Crash and mod AI
src/main/core/ai.ts - Discord presence
src/main/core/discord.ts - Release updates
src/main/core/updater.ts - Launcher sync
src/main/core/sync.ts
Other components
- Player
Connections 31
- Player → Screen shell: uses
README.md - Screen shell → Home and launch: renders
src/renderer/src/App.tsx - Screen shell → Version picker: renders
src/renderer/src/App.tsx - Screen shell → Profiles UI: renders
src/renderer/src/App.tsx - Screen shell → Mod catalog UI: renders
src/renderer/src/App.tsx - Screen shell → Settings UI: renders
src/renderer/src/App.tsx - Screen shell → Game console: renders
src/renderer/src/App.tsx - Screen shell → Hosting UI: renders
src/renderer/src/App.tsx - Screen shell → Servers UI: renders
src/renderer/src/App.tsx - Screen shell → Worlds UI: renders
src/renderer/src/App.tsx - Screen shell → Renderer state: reads state
src/renderer/src/App.tsx - Renderer state → Renderer bridge: invokes
src/renderer/src/state/store.ts - Electron main → IPC router: registers
src/main/index.ts - IPC router → Game instances: dispatches to
src/main/ipc/router.ts - IPC router → Player profiles: dispatches to
src/main/ipc/router.ts - IPC router → Version management: dispatches to
src/main/ipc/router.ts - IPC router → Bootstrap and launch: dispatches to
src/main/ipc/router.ts - IPC router → Java runtime: dispatches to
src/main/ipc/router.ts - IPC router → Launcher settings: dispatches to
src/main/ipc/router.ts - IPC router → Modrinth catalog: dispatches to
src/main/ipc/router.ts - IPC router → Offline authentication: dispatches to
src/main/ipc/router.ts - IPC router → Skin management: dispatches to
src/main/ipc/router.ts - IPC router → Release updates: dispatches to
src/main/ipc/router.ts - IPC router → Discord presence: dispatches to
src/main/ipc/router.ts - IPC router → Crash and mod AI: dispatches to
src/main/ipc/router.ts - IPC router → Modpack import: dispatches to
src/main/ipc/router.ts - IPC router → Launcher sync: dispatches to
src/main/ipc/router.ts - IPC router → Server hosting: dispatches to
src/main/ipc/router.ts - IPC router → World management: dispatches to
src/main/ipc/router.ts - IPC router → Server management: dispatches to
src/main/ipc/router.ts - Bootstrap and launch → Player: starts game