<feed xmlns='http://www.w3.org/2005/Atom'>
<title>DropOut/src-tauri/src/main.rs, branch dropout-v0.2.0-alpha.1</title>
<subtitle>This is a new Minecraft launcher that is currently in development. It is designed to be a modern, fast and efficient launcher. It is written in Rust. Aims to be a Reproducible Minecraft Workspace Manager.</subtitle>
<id>https://git.hydroroll.team/DropOut/atom?h=dropout-v0.2.0-alpha.1</id>
<link rel='self' href='https://git.hydroroll.team/DropOut/atom?h=dropout-v0.2.0-alpha.1'/>
<link rel='alternate' type='text/html' href='https://git.hydroroll.team/DropOut/'/>
<updated>2026-01-18T06:27:45Z</updated>
<entry>
<title>feat(backend): enhance instance management for editor support</title>
<updated>2026-01-18T06:27:45Z</updated>
<author>
<name>HsiangNianian</name>
<email>i@jyunko.cn</email>
</author>
<published>2026-01-18T06:27:45Z</published>
<link rel='alternate' type='text/html' href='https://git.hydroroll.team/DropOut/commit/?id=6fdb730c323bcb1b052a2f9b13034603cbaf1e4d'/>
<id>urn:sha1:6fdb730c323bcb1b052a2f9b13034603cbaf1e4d</id>
<content type='text'>
- 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)
</content>
</entry>
<entry>
<title>feat(migration): implement shared cache migration with SHA1 dedup</title>
<updated>2026-01-18T05:43:12Z</updated>
<author>
<name>HsiangNianian</name>
<email>i@jyunko.cn</email>
</author>
<published>2026-01-18T05:43:12Z</published>
<link rel='alternate' type='text/html' href='https://git.hydroroll.team/DropOut/commit/?id=17e8dd78ca5b7aae9baa4f86d38fa755c8af21c5'/>
<id>urn:sha1:17e8dd78ca5b7aae9baa4f86d38fa755c8af21c5</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>fix(ci): improve pre-commit fmt hook configuration</title>
<updated>2026-01-18T05:34:52Z</updated>
<author>
<name>HsiangNianian</name>
<email>i@jyunko.cn</email>
</author>
<published>2026-01-18T05:34:52Z</published>
<link rel='alternate' type='text/html' href='https://git.hydroroll.team/DropOut/commit/?id=02520ca62ac5e508e8748b2445171be64f459b6c'/>
<id>urn:sha1:02520ca62ac5e508e8748b2445171be64f459b6c</id>
<content type='text'>
- Add pass_filenames: false to fmt hook
- Add -- separator for cargo fmt args
- Manually format code with cargo fmt
</content>
</entry>
<entry>
<title>fix: complete Instance/Profile System isolation and state management</title>
<updated>2026-01-18T04:58:22Z</updated>
<author>
<name>HsiangNianian</name>
<email>i@jyunko.cn</email>
</author>
<published>2026-01-18T04:58:22Z</published>
<link rel='alternate' type='text/html' href='https://git.hydroroll.team/DropOut/commit/?id=5e9850881d35d3af9ae8a2f99402e02300f77835'/>
<id>urn:sha1:5e9850881d35d3af9ae8a2f99402e02300f77835</id>
<content type='text'>
## Overview
Fixed critical multi-instance isolation bugs where versions, mod loaders, and
instance state were not properly isolated between instances. These changes ensure
full data isolation and consistent instance metadata.

## Bug Fixes - P0 (Critical Isolation Issues)

### 1. Backend: get_versions() command isolation
- Problem: Used global app_data_dir instead of instance-specific game_dir
- Fix: Added instance_id parameter, now queries instance.game_dir
- Impact: Versions are now properly isolated per instance

### 2. Frontend: delete_version missing instanceId
- Problem: Frontend passed only versionId, not instanceId
- Fix: Updated VersionsView.svelte to pass instanceId parameter
- Impact: Version deletion now targets correct instance

### 3. Frontend: get_version_metadata missing instanceId
- Problem: Metadata queries didn't specify which instance to check
- Fix: Updated VersionsView.svelte to pass instanceId parameter
- Impact: Version info displayed per-instance correctly

### 4. Frontend: Instance switching doesn't refresh versions
- Problem: Switching instances didn't reload version list
- Fix: Added $effect hook in GameState to watch activeInstanceId changes
- Impact: Version list auto-refreshes on instance switch

## Bug Fixes - P1 (State Synchronization)

### 5. Backend: install_fabric doesn't update Instance.mod_loader
- Problem: Instance.mod_loader field wasn't updated after installation
- Fix: Added instance_state.update_instance() call
- Impact: Instance metadata stays in sync

### 6. Backend: install_forge doesn't update Instance.mod_loader
- Problem: Instance.mod_loader field wasn't updated after installation
- Fix: Added instance_state.update_instance() call
- Impact: Instance metadata stays in sync

### 7. Backend: delete_version doesn't clean up Instance state
- Problem: Deleting version didn't clear Instance.version_id or .mod_loader
- Fix: Added cleanup logic to clear stale references
- Impact: Instance state remains valid after deletion

## Testing
- Added comprehensive integration tests in instance_isolation_tests.rs
- Tests document 10 key scenarios for multi-instance isolation
- All code compiles cleanly with no errors
</content>
</entry>
<entry>
<title>fix(auth): add token expiry check in start_game</title>
<updated>2026-01-18T04:16:55Z</updated>
<author>
<name>HsiangNianian</name>
<email>i@jyunko.cn</email>
</author>
<published>2026-01-18T04:16:55Z</published>
<link rel='alternate' type='text/html' href='https://git.hydroroll.team/DropOut/commit/?id=1021c921c5690ceb800c03140de0723f3338e121'/>
<id>urn:sha1:1021c921c5690ceb800c03140de0723f3338e121</id>
<content type='text'>
Check if the Microsoft account token is expired before attempting to
launch the game. If expired, attempt to refresh using the refresh_token.
If refresh fails, return an error instructing the user to login again.

Also removed #[allow(dead_code)] from is_token_expired since it's
now actively used.
</content>
</entry>
<entry>
<title>fix(forge): check if installer created version JSON before manual creation</title>
<updated>2026-01-18T04:14:44Z</updated>
<author>
<name>HsiangNianian</name>
<email>i@jyunko.cn</email>
</author>
<published>2026-01-18T04:14:44Z</published>
<link rel='alternate' type='text/html' href='https://git.hydroroll.team/DropOut/commit/?id=16047ca6aa8eea7f5495e938faebb01bf96d09de'/>
<id>urn:sha1:16047ca6aa8eea7f5495e938faebb01bf96d09de</id>
<content type='text'>
The Forge installer may or may not create the version.json file
depending on the installer version. Check if the file exists after
running the installer before manually creating it to avoid overwriting
any installer-generated configuration.
</content>
</entry>
<entry>
<title>feat: implement instance management features and enhance game launch process</title>
<updated>2026-01-16T12:24:53Z</updated>
<author>
<name>HsiangNianian</name>
<email>i@jyunko.cn</email>
</author>
<published>2026-01-16T12:24:53Z</published>
<link rel='alternate' type='text/html' href='https://git.hydroroll.team/DropOut/commit/?id=853f40dc13e6463bedf30e2471a71bd011be425b'/>
<id>urn:sha1:853f40dc13e6463bedf30e2471a71bd011be425b</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>feat: enhance Java version management for Minecraft versions</title>
<updated>2026-01-16T10:42:12Z</updated>
<author>
<name>HsiangNianian</name>
<email>i@jyunko.cn</email>
</author>
<published>2026-01-16T10:38:47Z</published>
<link rel='alternate' type='text/html' href='https://git.hydroroll.team/DropOut/commit/?id=1119f6c3cf421da2f2db92873efae8135c76b678'/>
<id>urn:sha1:1119f6c3cf421da2f2db92873efae8135c76b678</id>
<content type='text'>
Added functionality to determine and validate the required Java version for Minecraft versions, including checks for compatibility with older versions. Implemented event emissions for version installation and deletion, and updated the UI to reflect Java version requirements and installation status. Improved version metadata handling and added support for deleting versions.
</content>
</entry>
<entry>
<title>Merge pull request #53 from BegoniaHe/fix/windows-java-path</title>
<updated>2026-01-16T10:08:13Z</updated>
<author>
<name>简律纯</name>
<email>i@jyunko.cn</email>
</author>
<published>2026-01-16T10:08:13Z</published>
<link rel='alternate' type='text/html' href='https://git.hydroroll.team/DropOut/commit/?id=52cf610264444bde95c1feae58414bb9849855eb'/>
<id>urn:sha1:52cf610264444bde95c1feae58414bb9849855eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: update logging for Java arguments in game start function</title>
<updated>2026-01-16T09:00:47Z</updated>
<author>
<name>HsiangNianian</name>
<email>i@jyunko.cn</email>
</author>
<published>2026-01-16T09:00:47Z</published>
<link rel='alternate' type='text/html' href='https://git.hydroroll.team/DropOut/commit/?id=a4b0ca37b78cb4993588c5b71092e04650e3681c'/>
<id>urn:sha1:a4b0ca37b78cb4993588c5b71092e04650e3681c</id>
<content type='text'>
Modified the logging statement in the start_game function to display all Java arguments instead of just the first ten, improving debugging capabilities.
</content>
</entry>
</feed>
