How yaagl/yet-another-anime-game-launcher works
Yaagl is a macOS game launcher for supported anime games. Users open the app, select a game client, configure it, then install or update game files and launch through Wine; the app also manages launcher updates and Wine setup. A separate Sophon server package provides manifest-based install, repair, and update tasks with progress messages. The frontend entry point and several orchestration relationships are excerpted; many client, configuration, and backend API implementations are unsampled, so their internal links are omitted unless documented by the source index.
Main entry points: app.tsx App orchestration · progress_handlers.py Task progress · tasks.py Game tasks · index.tsx App entry
Components 21
Launcher application
- App entry
src/index.tsx - App orchestration
src/app.tsx - Launcher UI
src/launcher/index.tsx - Settings UI
src/config
Game clients
- Game clients
src/clients - Client contract
src/channel-client.ts
Wine runtime
- Wine management
src/wine - Wine installer
src/wine/wine-install-program.ts
Sophon service
- Sophon server
sophon_server/server.py - Game tasks
sophon_server/tasks.py - Manifest client
sophon_server/sophon_api.py - Task progress
sophon_server/progress_handlers.py - Task models
sophon_server/models.py - Connection manager
sophon_server/utils.py
Shared services
- Download engine
src/aria2.ts - Launcher updater
src/updater.ts - Update interface
src/common-update-ui.tsx - GitHub endpoint
src/github.ts - Desktop utilities
src/utils/neu.ts - Command builder
src/utils/command-builder.ts
Other components
- Player
Connections 17
- Player → App entry: opens
src/index.tsx - App entry → App orchestration: starts
src/index.tsx - App orchestration → Launcher UI: creates
src/app.tsx - App orchestration → Game clients: selects client
src/app.tsx - App orchestration → Wine management: checks and creates
src/app.tsx - App orchestration → Wine installer: installs if needed
src/app.tsx - App orchestration → Download engine: starts download service
src/app.tsx - App orchestration → Launcher updater: checks updates
src/app.tsx - App orchestration → GitHub endpoint: creates endpoint
src/app.tsx - App orchestration → Update interface: shows update UI
src/app.tsx - Launcher UI → Settings UI: configures
- Game clients → Client contract: implements
- Desktop utilities → Command builder: builds commands
src/utils/neu.ts - Game tasks → Manifest client: calls
sophon_server/tasks.py - Game tasks → Task progress: reports task progress
sophon_server/tasks.py - Task progress → Connection manager: sends messages
sophon_server/progress_handlers.py - Task progress → Task models: reads task status
sophon_server/progress_handlers.py