Add packsgen.php

generate missing packs based on fileinfo builds, skipping unreachable builds
This commit is contained in:
abbodi1406
2021-01-21 20:35:43 +03:00
parent 3506fdfd7f
commit 1c68d4c8c2
5 changed files with 48 additions and 26 deletions

View File

@ -15,14 +15,16 @@ if(isset($fetchedUpdate['error'])) {
throwError($fetchedUpdate['error']);
}
echo $fetchedUpdate['foundBuild'];
echo '|';
echo $fetchedUpdate['arch'];
echo '|';
echo $fetchedUpdate['updateId'];
echo '|';
echo $fetchedUpdate['updateTitle'];
echo '|';
echo $fetchedUpdate['fileWrite'];
echo "\n";
foreach($fetchedUpdate['updateArray'] as $update) {
echo $update['foundBuild'];
echo '|';
echo $update['arch'];
echo '|';
echo $update['updateId'];
echo '|';
echo $update['updateTitle'];
echo '|';
echo $update['fileWrite'];
echo "\n";
}
?>