Fix isku variable name

Co-authored-by: abbodi1406 <33669284+abbodi1406@users.noreply.github.com>
This commit is contained in:
luzeagithub 2021-02-06 15:38:19 +01:00
parent 45834ac2f8
commit faa4cf14f1

View File

@ -34,6 +34,7 @@ function generatePack($updateId) {
return 0;
}
$isku = $files['sku'];
$files = $files['files'];
$filesKeys = array_keys($files);
@ -142,11 +143,11 @@ function generatePack($updateId) {
$lang = preg_replace('/.*DesktopTargetCompDB_.*_|.*ServerTargetCompDB_.*_/', '', $filNam);
$edition = preg_replace('/.*DesktopTargetCompDB_|.*ServerTargetCompDB_|_'.$lang.'/', '', $filNam);
if($sku == 189) {
if($isku == 189) {
$lang = 'en-us';
$edition = 'Lite';
}
if($sku == 135) {
if($isku == 135) {
$lang = 'en-us';
$edition = 'Holographic';
}