How yushua0808-cpu/dragon-codex-boot works
Dragon Codex Boot is a Windows launcher that plays a configured startup video while opening or locating the Codex desktop client, then visually hands control to the real client window. The main runtime is concentrated in one C# file; the README documents a separate shortcut-replacement and recovery workflow implemented by PowerShell scripts and command files. Connections for the unsampled integration scripts and configuration behavior rely on README statements; source excerpts confirm the launcher’s media, client-window, DWM, and logging responsibilities.
Main entry points: DragonCodexBoot.cs Launcher entry · integrate-entrypoints.ps1 Entrypoint integration · Restore-Original-Entrypoints.cmd Restore command · Rescan-Entrypoints.cmd Rescan command
Components 16
Launcher runtime
- Launcher entry
src/DragonCodexBoot.cs - Video playback
src/DragonCodexBoot.cs - Client discovery
src/DragonCodexBoot.cs - Runtime logs
src/DragonCodexBoot.cs
Window handoff
- Window geometry
src/DragonCodexBoot.cs - DWM thumbnail
src/DragonCodexBoot.cs - Client handoff
src/DragonCodexBoot.cs
Shortcut integration
- Entrypoint integration
scripts/integrate-entrypoints.ps1 - Restore command
Restore-Original-Entrypoints.cmd - Rescan command
Rescan-Entrypoints.cmd - Shortcut backups and report
Runtime inputs
- Launcher config
config/launcher.example.json - Startup video
media/startup.mp4
Other components
- Windows user
- Codex client
- Windows DWM
Connections 20
- Windows user → Launcher entry: launches
README.md - Launcher entry → Launcher config: loads settings
README.md - Launcher entry → Startup video: checks video
src/DragonCodexBoot.cs - Launcher entry → Video playback: starts playback
README.md - Launcher entry → Client discovery: finds client
src/DragonCodexBoot.cs - Launcher entry → Codex client: launches via Shell
src/DragonCodexBoot.cs - Video playback → Client handoff: triggers at end
src/DragonCodexBoot.cs - Client discovery → Window geometry: supplies window bounds
src/DragonCodexBoot.cs - Client handoff → Window geometry: aligns client
README.md - Client handoff → DWM thumbnail: requests live preview
README.md - DWM thumbnail → Windows DWM: updates thumbnail
src/DragonCodexBoot.cs - DWM thumbnail → Codex client: shows live window
README.md - Client handoff → Codex client: returns control
README.md - Launcher entry → Runtime logs: writes events
src/DragonCodexBoot.cs - Launcher entry → Entrypoint integration: starts install scan
src/DragonCodexBoot.cs - Windows user → Restore command: requests recovery
README.md - Windows user → Rescan command: requests rescan
README.md - Restore command → Entrypoint integration: dispatches restore
README.md - Rescan command → Entrypoint integration: dispatches rescan
README.md - Entrypoint integration → Shortcut backups and report: backs up and reports
README.md