# Architecture This page defines the architectural patterns and layering used in the GregCore Modmanager. ## Current State - **GregCore Modmanager** is the Avalonia UI-based desktop application. - It targets **.NET 9** for optimal performance and cross-platform compatibility. ## Layering The project follows a strict 4-layer separation: 1. **Presentation**: Avalonia UI and ViewModels. 2. **Domain**: Business logic and interfaces. 3. **Infrastructure**: Steam API, Telemetry, and Persistence. 4. **Extensions**: MelonLoader plugins (.NET 6). ## Migration Strategy 1. Keep MAUI app functional while introducing Avalonia in parallel. 2. Move reusable business logic from MAUI-only concerns into shared services. 3. Replace page-by-page UI workflows in Avalonia. 4. Transition packaging and release channels to multi-platform outputs. ## Design Constraints - Compact information density for usability. - Keyboard-first interaction patterns. - Strict Steam publish cooldown enforcement. - Fully custom window chrome to avoid duplicate title bars.