aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri/src/core/instance.rs
Commit message (Collapse)AuthorAgeFilesLines
* fix(instance): InstanceManager -> InstanceStateHsiangNianian2026-03-181-6/+3
|
* Potential fix for pull request finding简律纯2026-03-181-1/+18
| | | Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* feat(instance): finish multi instances systemHsiangNianian2026-03-121-30/+472
|
* refactor(client): rewrite macros to generate client苏向夜2026-02-181-12/+3
|
* refactor(java): modularize Java detection and management systemBegonia, HE2026-01-291-0/+3
| | | | | | | | | | | | | | | | - 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(ts-bindings): fix ts bindings naming convention苏向夜2026-01-231-0/+3
|
* feat(ts-bindings): fix ts bindings naming convention苏向夜2026-01-211-3/+3
|
* fix: Update TypeScript export paths to reflect new directory structureHsiangNianian2026-01-211-3/+6
|
* feat: Add TypeScript support to data structures using ts-rs for type generationHsiangNianian2026-01-211-3/+13
|
* feat(backend): enhance instance management for editor supportHsiangNianian2026-01-181-0/+14
| | | | | | | - Sync instance.version_id after start_game, install_fabric, install_forge - Add jvm_args_override and memory_override to Instance struct - Add file management commands: list_instance_directory, delete_instance_file, open_file_explorer - Support per-instance settings overrides (Java args, memory)
* feat(migration): implement shared cache migration with SHA1 dedupHsiangNianian2026-01-181-0/+224
| | | | | | | | - Add migrate_to_shared_caches() with hard link preference - SHA1-based deduplication across all instances - Copy fallback for cross-filesystem scenarios - Auto-enable use_shared_caches after successful migration - UI shows statistics: moved files, hardlinks/copies, MB saved
* fix(instance): copy directory BEFORE creating metadata in duplicate_instanceHsiangNianian2026-01-181-11/+32
| | | | | | | | Prevent race condition in duplicate_instance by copying the source game directory BEFORE creating and saving the new instance metadata. This ensures that if the copy fails, no orphaned metadata is created. Also copy the icon_path from source instance to maintain visual consistency.
* feat: implement instance management features and enhance game launch processHsiangNianian2026-01-161-0/+325
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.