How nunreasonable/ii-windows works
This tree contains the Windows setup application and its core installation engine, plus a standalone Windows SongRec helper. The main installer workflow is user-driven setup through the app, with core operations handling package acquisition and Windows installation state. The README describes setup choices and the broader desktop product, but this tree does not include that desktop shell’s implementation; unsampled app-to-core wiring is therefore marked unverified.
Main entry points: ops.rs Install operations · win.rs Windows integration · release.rs Release lookup · arch.rs Architecture detection
Components 22
Setup interface
- Setup app
installer/app/src/main.rs - Setup UI
installer/ui/app.js - Translations
installer/ui/i18n.js - Request coordination
installer/ui/request-coordinator.js
Install engine
- Install operations
installer/core/src/ops.rs - Install manifest
installer/core/src/manifest.rs - Progress reporting
installer/core/src/progress.rs - Startup configuration
installer/core/src/startup.rs
Release and package
- Release lookup
installer/core/src/release.rs - Package inspection
installer/core/src/package.rs - App dependencies
installer/core/src/appinstaller.rs - Version parsing
installer/core/src/version.rs - Architecture detection
installer/core/src/arch.rs
Windows state
- File operations
installer/core/src/fsops.rs - Known folders
installer/core/src/knownfolders.rs - Windows integration
installer/core/src/win.rs - Install paths
installer/core/src/paths.rs - Process management
installer/core/src/restartmgr.rs
Song recognition
- SongRec CLI
tools/songrec/songrec-win/src/main.rs - Audio listening
tools/songrec/songrec-win/src/listen.rs - Recognition service
tools/songrec/songrec-win/src/communication.rs
Other components
- Windows user
Connections 28
- Windows user → Setup app: runs setup
- Setup app → Install operations: dispatches operations
- Setup UI → Request coordination: coordinates requests
- Install operations → Install manifest: reads and writes
installer/core/src/ops.rs - Install operations → Progress reporting: reports progress
installer/core/src/ops.rs - Install operations → Release lookup: fetches releases
installer/core/src/ops.rs - Install operations → Package inspection: inspects packages
installer/core/src/ops.rs - Install operations → App dependencies: extracts dependencies
installer/core/src/ops.rs - Install operations → File operations: uses file operations
installer/core/src/ops.rs - Install operations → Known folders: resolves folders
installer/core/src/ops.rs - Install operations → Startup configuration: configures startup
installer/core/src/ops.rs - Install operations → Windows integration: changes Windows state
installer/core/src/ops.rs - Install operations → Process management: checks processes
installer/core/src/ops.rs - Install operations → Install paths: uses install paths
installer/core/src/ops.rs - Release lookup → Version parsing: parses versions
installer/core/src/release.rs - Release lookup → Architecture detection: selects architecture
installer/core/src/release.rs - Package inspection → Version parsing: parses package names
installer/core/src/package.rs - Package inspection → Architecture detection: checks compatibility
installer/core/src/package.rs - App dependencies → Release lookup: uses release data
installer/core/src/appinstaller.rs - App dependencies → Architecture detection: selects dependencies
installer/core/src/appinstaller.rs - Install manifest → Architecture detection: stores architecture
installer/core/src/manifest.rs - Install manifest → Startup configuration: stores startup choice
installer/core/src/manifest.rs - Windows integration → Install paths: uses install paths
installer/core/src/win.rs - Windows integration → Known folders: resolves folders
installer/core/src/win.rs - Windows integration → Startup configuration: manages startup
installer/core/src/win.rs - SongRec CLI → Audio listening: starts listening
tools/songrec/songrec-win/src/main.rs - SongRec CLI → Recognition service: requests recognition
tools/songrec/songrec-win/src/main.rs - Audio listening → Recognition service: submits signatures
tools/songrec/songrec-win/src/listen.rs