From d9cde37560f13f44862b5ee996973842b86725d2 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Thu, 15 Jan 2026 10:39:48 +0800 Subject: Apply suggestion from @SourceryAI Co-authored-by: SourceryAI --- src-tauri/src/core/java.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { 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 { let bin_name = if cfg!(windows) { "java.exe" } else { "java" }; -- cgit v1.2.3-70-g09d2