aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri/src/core/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* refactor(java): improve error handling and loggingBegonia, HE2026-01-291-2/+0
| | | | | | | | | | - Extract JavaError to dedicated error.rs module - Add serde defaults for JavaInstallation optional fields - Replace unwrap() with proper error propagation - Add detailed logging for Java resolution priority chain - Improve error mapping in validation (NotFound vs VerificationFailed) Reviewed-by: Claude Sonnet 4.5
* refactor(java): modularize Java detection and management systemBegonia, HE2026-01-291-0/+2
| | | | | | | | | | | | | | | | - Split monolithic java.rs (1089 lines) into focused modules - detection: Java installation discovery - validation: Version validation and requirements checking - priority: Installation selection priority logic - provider: Java download provider trait - providers: Provider implementations (Adoptium) - persistence: Cache and catalog management - Add java_path_override field to Instance struct for per-instance Java configuration - Export JavaInstallation at core module level This refactoring improves maintainability and prepares for multi-vendor Java provider support. Reviewed-by: Claude Sonnet 4.5
* feat: implement instance management features and enhance game launch processHsiangNianian2026-01-161-0/+1
| | | | Added functionality for managing game instances, including creating, deleting, updating, and duplicating instances. Integrated instance selection into the game launch process, allowing users to specify the instance when starting a game. Updated the main application logic to handle instance states and paths, ensuring proper directory management for each instance. Introduced a new module for instance management and updated relevant commands to support instance-specific operations.
* feat: integrate AI assistant functionality and configuration managementHsiangNianian2026-01-161-0/+1
| | | | Implemented new commands for managing the AI assistant, including health checks, chat interactions, and model listings for both Ollama and OpenAI. Enhanced the configuration system to support raw JSON editing and added a dedicated AssistantConfig structure for better management of assistant settings. This update significantly improves the user experience by providing comprehensive control over AI interactions and configurations.
* feat: add Fabric and Forge type definitions and update mod.rs for mod loader ↵HsiangNianian2026-01-141-0/+4
| | | | support
* feat: implement Microsoft account token refresh and storage management; add ↵HsiangNianian2026-01-131-0/+2
| | | | Java detection functionality
* chore(style): format codeHsiangNianian2026-01-131-2/+2
|
* feat: Add config moduleHsiangNianian2026-01-131-0/+1
|
* Implement library rules validation and zip extraction utilityHsiangNianian2026-01-131-0/+1
| | | | | | - Added `is_library_allowed` function to evaluate library permissions based on defined rules. - Introduced `rule_matches` helper function to check OS compatibility for rules. - Created `extract_zip` function to handle zip file extraction, including directory creation and skipping of META-INF entries.
* feat: implement download functionality with progress monitoring and version ↵HsiangNianian2026-01-131-0/+1
| | | | management
* feat: add offline account management and version fetching functionalityHsiangNianian2026-01-131-0/+2
|
* feat: add Minecraft DropOut launcher with version fetching and basic UIHsiangNianian2026-01-131-0/+1
- Implemented version manifest fetching from Mojang API. - Created launcher configuration and main launcher logic. - Added SVG and PNG icons for the application. - Developed a simple HTML/CSS interface for the launcher. - Integrated Tauri commands for backend communication. - Added utility functions for file operations and config parsing.