diff options
| author | 2026-01-16 08:29:23 +0100 | |
|---|---|---|
| committer | 2026-01-16 08:29:23 +0100 | |
| commit | e38f3b0ac1277f3b918ceb5a819f98d598b1a419 (patch) | |
| tree | 2702b3499ee105c9e366ccd313d44ff2aed06204 /ui/tsconfig.app.json | |
| parent | 46ea4d96c205276ecfb84928736ef02df8c104ff (diff) | |
| download | DropOut-e38f3b0ac1277f3b918ceb5a819f98d598b1a419.tar.gz DropOut-e38f3b0ac1277f3b918ceb5a819f98d598b1a419.zip | |
fix(path): resolve critical java path validation bug on unix
Fix a critical bug in normalize_java_path where Unix implementation
would return Ok(non-existent path) when java_path == "java" and the
`which` command failed to find Java in PATH. This caused game launch
failures with confusing error messages.
Key changes:
- Add strip_unc_prefix helper for Windows UNC path handling
- Fix Unix bug: explicitly return error when PATH search fails
- Apply canonicalize + strip_unc_prefix pattern to both platforms
- Enhanced error messages distinguishing PATH vs specific path failures
- Add comprehensive unit tests covering edge cases
- Update documentation to reflect actual behavior
Resolves issue where Windows and Unix users could not launch games
when Java path resolution failed silently.
Reviewed-by: Claude Sonnet 4.5
Diffstat (limited to 'ui/tsconfig.app.json')
0 files changed, 0 insertions, 0 deletions