Fix isku variable name
Co-authored-by: abbodi1406 <33669284+abbodi1406@users.noreply.github.com>
This commit is contained in:
parent
45834ac2f8
commit
faa4cf14f1
@ -34,6 +34,7 @@ function generatePack($updateId) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$isku = $files['sku'];
|
||||||
$files = $files['files'];
|
$files = $files['files'];
|
||||||
$filesKeys = array_keys($files);
|
$filesKeys = array_keys($files);
|
||||||
|
|
||||||
@ -142,11 +143,11 @@ function generatePack($updateId) {
|
|||||||
|
|
||||||
$lang = preg_replace('/.*DesktopTargetCompDB_.*_|.*ServerTargetCompDB_.*_/', '', $filNam);
|
$lang = preg_replace('/.*DesktopTargetCompDB_.*_|.*ServerTargetCompDB_.*_/', '', $filNam);
|
||||||
$edition = preg_replace('/.*DesktopTargetCompDB_|.*ServerTargetCompDB_|_'.$lang.'/', '', $filNam);
|
$edition = preg_replace('/.*DesktopTargetCompDB_|.*ServerTargetCompDB_|_'.$lang.'/', '', $filNam);
|
||||||
if($sku == 189) {
|
if($isku == 189) {
|
||||||
$lang = 'en-us';
|
$lang = 'en-us';
|
||||||
$edition = 'Lite';
|
$edition = 'Lite';
|
||||||
}
|
}
|
||||||
if($sku == 135) {
|
if($isku == 135) {
|
||||||
$lang = 'en-us';
|
$lang = 'en-us';
|
||||||
$edition = 'Holographic';
|
$edition = 'Holographic';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user