How spruceui/spruceos works
Main Components
a. Core System Layer:
• Miyoo OS Base (underlying system)
• Spruce Customization Layer
• System Services & Daemons
b. Application Layer:
• Main UI Interface
• Game Emulators
• Utility Applications
• Network Services
c. Storage & Configuration:
• ROM Management
• Save States
• BIOS Files
• Configuration Files
• Themes System
d. Network Stack:
• WiFi Management
• Network Services (SSH, SFTP, Samba, Syncthing)
• OTA Updates
Component Relationships
[Hardware Layer]
• ↕
[Miyoo OS Base] ← → [Spruce System Layer]
• ↕
[Core Services] → [System Management]
• ↕
┌────────────┴───────────┐
[Games] [Apps] [Network] [UI]
Detailed Component Breakdown
a. System Core:
• Runtime Management (/spruce/scripts/runtime.sh)
• Power Management
• CPU Performance Profiles
• Button/Input Handling
b. Applications:
• Game Emulators (RetroArch + specific emulators)
• Utility Apps (BoxartScraper, GameSwitcher, etc.)
• System Tools (Advanced Settings, Firmware Update)
c. Network Stack:
• WiFi Management
• File Transfer Services
• Sync Services
• Update System
d. Storage Management:
• ROM Organization
• Save State Handling
• Theme Management
• Configuration Storage
Data Flow Indicators
• Game loading path
• Save state management
• Network data flow
• Configuration changes
• Update process