From 7f0f90fcced3f6e91d79d5e42ded262d8b1b5271 Mon Sep 17 00:00:00 2001 From: SwitchAxe Date: Mon, 12 Jan 2026 14:43:54 +0100 Subject: [PATCH] Improved the check for the assets dir Signed-off-by: SwitchAxe --- launcher/minecraft/mod/tasks/LocalShaderPackParseTask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/minecraft/mod/tasks/LocalShaderPackParseTask.cpp b/launcher/minecraft/mod/tasks/LocalShaderPackParseTask.cpp index f16ef090a..997cb9bcb 100644 --- a/launcher/minecraft/mod/tasks/LocalShaderPackParseTask.cpp +++ b/launcher/minecraft/mod/tasks/LocalShaderPackParseTask.cpp @@ -79,7 +79,7 @@ bool processZIP(ShaderPack& pack, ProcessingLevel level) // there are multiple, the first one is picked. bool isShaderPresent = false; for (QString f : files) { - if (zip.exists(f + "/shaders")) { + if (f.contains("/shaders/", Qt::CaseInsensitive)) { isShaderPresent = true; break; }