From d7f3218657e937fe633e38b665afd1fd6032eb46 Mon Sep 17 00:00:00 2001 From: Thoronium <107363768+NotThorny@users.noreply.github.com> Date: Sat, 25 Feb 2023 15:07:45 -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) {