From 090e1a888d4cad7d86a301ac9cf7a3416656eb96 Mon Sep 17 00:00:00 2001 From: Thoronium <107363768+NotThorny@users.noreply.github.com> Date: Sun, 26 Feb 2023 12:02:21 -0700 Subject: [PATCH] Fix jar setting from full build --- src-tauri/src/unzip.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/unzip.rs b/src-tauri/src/unzip.rs index 81e3e2b..cd3c2c3 100644 --- a/src-tauri/src/unzip.rs +++ b/src-tauri/src/unzip.rs @@ -99,7 +99,7 @@ pub fn unzip( // If downloading full build, emit that the jar was extracted with it if zipfile == "GrasscutterCulti3.4.zip" { window - .emit("jar_extracted", destpath.to_string() + &((destpath.to_string() + "grasscutter.jar"))) + .emit("jar_extracted", destpath.to_string() + "grasscutter.jar") .unwrap(); }