fix: point -Duser to the right directory to prevent crashes

This commit is contained in:
objz committed 2026-06-16 14:13:57 +02:00
1 parent 3dd384c5c6
commit 68d2f45236
1 file changed
+1
+1
View File
@@ -178,6 +178,7 @@ pub async fn run_neoforge_installer(
set_action("Running NeoForge installer...");
let output = match Command::new(java_path)
.arg(format!("-Duser.home={}", instance_dir.display()))
.arg("-jar")
.arg(installer_path)
.arg("--installClient")