diff options
| author | 2026-01-16 07:46:13 +0100 | |
|---|---|---|
| committer | 2026-01-16 07:46:13 +0100 | |
| commit | 76ab8c504c3d094b3c9d3b2034a4c16384220926 (patch) | |
| tree | 475967b1171e7fb86f1e39f19e31b3eebe47663f /src-tauri/src/core/assistant.rs | |
| parent | 9fafc670ccbce9d1f457bb69d03b40988d98b961 (diff) | |
| download | DropOut-76ab8c504c3d094b3c9d3b2034a4c16384220926.tar.gz DropOut-76ab8c504c3d094b3c9d3b2034a4c16384220926.zip | |
fix(windows): resolve Java executable path issues on Windows
- 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
Diffstat (limited to 'src-tauri/src/core/assistant.rs')
0 files changed, 0 insertions, 0 deletions