Fix various issues (#123)

* Fix various issues

* Remove unused
This commit is contained in:
Geometrically
2023-05-23 14:24:39 -07:00
committed by GitHub
parent 8ff1b0d108
commit 9ea548cfe3
16 changed files with 47 additions and 40 deletions

View File

@@ -221,7 +221,7 @@ async fn get_all_jre_path() -> Result<HashSet<PathBuf>, JREError> {
#[cfg(target_os = "windows")]
#[allow(dead_code)]
const JAVA_BIN: &str = "java.exe";
const JAVA_BIN: &str = "javaw.exe";
#[cfg(not(target_os = "windows"))]
#[allow(dead_code)]