How dfint/installer works
Core Application Components
• Following major modules (based on src/ directory):
• App Module (UI/Frontend)
• Logic Module (Core Business Logic)
• DF Binary Handler
• Dictionary & Hook Metadata Handlers
• Thread Pool (Concurrent Operations)
• Persistent Storage
External Integrations
• Dwarf Fortress Game (target application)
• Translation Resources
• Transifex Integration (indicated by .tx directory)
• Local Translation Files (locale/*.json)
• df-steam-hook-rs (external hook component)
Workflow Components
• GitHub Actions Pipeline (.github/workflows)
• Build System
• Localization Management System
• [Top Layer]
• User Interface (app.rs)
• [Middle Layer]
• Core Logic (logic.rs)
• Dictionary Manager (dict_metadata.rs)
• Hook Manager (hook_metadata.rs)
• Binary Handler (df_binary.rs)
• [Bottom Layer]
• Thread Pool
• Persistent Storage
• Utilities
Installation Flow
• Game Detection
• Language Selection
• Update Process
• Hook Installation
Update Mechanism
• Translation Updates
• Hook Updates
• Configuration Management
External Dependencies
• DFHack Compatibility
• Translation Sources
• Build Dependencies
Level of Detail:
• Installation Process
• Update Workflow
• Translation Management
• Build Pipeline
Additional Notes:
• Version information and compatibility notes
• Relationship with DFHack (version 50.13-r2+)
• Supported platforms (Windows/Linux)