mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 03:16:58 +03:00
Improved the check for the assets dir
Signed-off-by: SwitchAxe <sofiacerasuoli@gmail.com>
This commit is contained in:
parent
8aba994312
commit
7f0f90fcce
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue