How dsi-hub/hooklink works
HookLink is a macOS app that guides a player from checking Mac prerequisites and selecting their game/device through building an installable app, copying game files to an iPhone, and managing updates and saves. The graph separates the UI, build orchestration, device/save operations, and update handling. README documents build capabilities whose implementation is only partly sampled; links to those stages are therefore limited to documented relationships. The graph does not map nxnative internals, which are external to this repository.
Main entry points: Views.swift Workflow views · Model.swift Build and device state · Updates.swift Update checks · Saves.swift Save backup restore
Components 18
App interface
- App lifecycle
Sources/HookLink/App.swift - Workflow views
Sources/HookLink/Views.swift - Task progress
Sources/HookLink/Progress.swift - Window backdrop
Sources/HookLink/Sky.swift
Build workflow
- Build and device state
Sources/HookLink/Model.swift - Command runner
Sources/HookLink/Runner.swift - nxnative build engine
- Resolution tuning
Resources/tools/hl_resolution.py
Phone and saves
- Game file transfer
Sources/HookLink/Model.swift - iPhone game storage
- Save backup restore
Sources/HookLink/Saves.swift - Mac save backups
Sources/HookLink/Saves.swift
Maintenance
- Update checks
Sources/HookLink/Updates.swift - GitHub releases
- Engine updates
Sources/HookLink/Updates.swift
Other components
- Player
- Player game dump
- Sideloading tool
Connections 20
- Player → Workflow views: uses
README.md - Workflow views → Build and device state: invokes workflow
Sources/HookLink/Views.swift - App lifecycle → Workflow views: presents
Sources/HookLink/App.swift - Workflow views → Task progress: shows progress
- Workflow views → Window backdrop: shows backdrop
- Build and device state → Command runner: runs commands
Sources/HookLink/Model.swift - Build and device state → nxnative build engine: runs build
- Player game dump → Build and device state: provides dump
README.md - Build and device state → Resolution tuning: runs tuning
Sources/HookLink/Model.swift - Build and device state → Game file transfer: coordinates copy
Sources/HookLink/Model.swift - Game file transfer → iPhone game storage: copies game files
README.md - Game file transfer → Save backup restore: backs up first
README.md - Save backup restore → iPhone game storage: reads and writes saves
Sources/HookLink/Saves.swift - Save backup restore → Mac save backups: stores backups
Sources/HookLink/Saves.swift - Player → Sideloading tool: installs IPA
README.md - App lifecycle → Update checks: checks on launch
Sources/HookLink/App.swift - Workflow views → Update checks: shows update actions
Sources/HookLink/Views.swift - Update checks → GitHub releases: checks releases
Sources/HookLink/Updates.swift - Update checks → Engine updates: checks engine
Sources/HookLink/Updates.swift - Engine updates → Command runner: runs update command
Sources/HookLink/Updates.swift