Improved the check for the assets dir

Signed-off-by: SwitchAxe <sofiacerasuoli@gmail.com>
This commit is contained in:
SwitchAxe 2026-01-12 14:43:54 +01:00
parent 8aba994312
commit 7f0f90fcce

View file

@ -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;
}