From 0dede9b17c879f5bbebb2c720e0e23f2598354ef Mon Sep 17 00:00:00 2001 From: Thoronium <107363768+NotThorny@users.noreply.github.com> Date: Wed, 22 Feb 2023 15:06:05 -0700 Subject: [PATCH] Fix path setting --- src-tauri/src/system_helpers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/system_helpers.rs b/src-tauri/src/system_helpers.rs index a1c229b..9bbb2f0 100644 --- a/src-tauri/src/system_helpers.rs +++ b/src-tauri/src/system_helpers.rs @@ -115,7 +115,7 @@ pub fn set_migoto_target(path: String, migoto_path: String) -> bool { // Set options conf .with_section(Some("Loader")) - .set("target", pathbuf.file_name().unwrap().to_str().unwrap()); + .set("target", "GenshinImpact.exe"); // Write file match conf.write_to_file(&migoto_pathbuf) {