mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Setup/ImageGen
* consider preconverted png images when initially checking resources * fixed minor bugs
This commit is contained in:
@@ -266,7 +266,7 @@ class CLISetup
|
||||
return false;
|
||||
|
||||
// backslash to forward slash
|
||||
$_ = strtolower(str_replace('\\', '/', $file));
|
||||
$_ = strtolower(CLI::nicePath($file));
|
||||
|
||||
// remove trailing slash
|
||||
if (mb_substr($_, -1, 1) == '/')
|
||||
@@ -291,7 +291,7 @@ class CLISetup
|
||||
return [];
|
||||
|
||||
// backslash to forward slash
|
||||
$_ = strtolower(str_replace('\\', '/', $path));
|
||||
$_ = strtolower(CLI::nicePath($path));
|
||||
|
||||
foreach (self::$mpqFiles as $lowerFile => $realFile)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user