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) {