aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri/src/utils/path.rs
Commit message (Collapse)AuthorAgeFilesLines
* fix(windows): resolve Java executable path issues on WindowsBegonia, HE2026-01-161-0/+105
- Add normalize_java_path utility function with Windows-specific handling - Automatically append .exe extension when missing on Windows - Use 'where' command to locate java.exe in PATH if not found - Improve error messages with full path display for debugging - Apply path normalization in both start_game and install_forge commands This fixes the "Failed to launch java: program not found" error on Windows by properly handling Java executable paths, including relative paths, missing extensions, and PATH resolution. Reviewed-by: Claude Sonnet 4.5