diff options
| author | 2026-01-15 10:39:48 +0800 | |
|---|---|---|
| committer | 2026-01-15 10:39:48 +0800 | |
| commit | d9cde37560f13f44862b5ee996973842b86725d2 (patch) | |
| tree | 14981b85c354f0969fe22f45eda8b9b6aa5f9c01 /src-tauri | |
| parent | d23f2f524bfd6c518d71775e91aec37e39bfba34 (diff) | |
| download | DropOut-d9cde37560f13f44862b5ee996973842b86725d2.tar.gz DropOut-d9cde37560f13f44862b5ee996973842b86725d2.zip | |
Apply suggestion from @SourceryAI
Co-authored-by: SourceryAI <bot@sourcery.ai>
Diffstat (limited to 'src-tauri')
| -rw-r--r-- | src-tauri/src/core/java.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/core/java.rs b/src-tauri/src/core/java.rs index b223cd2..393de34 100644 --- a/src-tauri/src/core/java.rs +++ b/src-tauri/src/core/java.rs @@ -631,7 +631,7 @@ pub fn detect_all_java_installations() -> Vec<JavaInstallation> { installations } -/// Recursively find the java executable in a directory +//// Find the java executable in a directory using a limited-depth search fn find_java_executable(dir: &PathBuf) -> Option<PathBuf> { let bin_name = if cfg!(windows) { "java.exe" } else { "java" }; |