From 249f07927d1c9b6fa75ed9e65c22e9025f1e9f5f Mon Sep 17 00:00:00 2001 From: Thoronium <107363768+NotThorny@users.noreply.github.com> Date: Sun, 26 Feb 2023 12:40:14 -0700 Subject: [PATCH] Fix check --- 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 cd3c2c3..703c681 100644 --- a/src-tauri/src/unzip.rs +++ b/src-tauri/src/unzip.rs @@ -97,7 +97,7 @@ pub fn unzip( } // If downloading full build, emit that the jar was extracted with it - if zipfile == "GrasscutterCulti3.4.zip" { + if zipfile.ends_with("Culti3.4.zip") { window .emit("jar_extracted", destpath.to_string() + "grasscutter.jar") .unwrap();