standalone/packsgen.php
2023-10-25 19:22:09 +02:00

18 lines
395 B
PHP

<?php
require_once dirname(__FILE__).'/api/listid.php';
require_once dirname(__FILE__).'/shared/main.php';
require_once dirname(__FILE__).'/shared/genpack.php';
consoleLogger(brand('listid'));
$ids = uupListIds();
if(isset($ids['error'])) {
throwError($ids['error']);
}
foreach($ids['builds'] as $val) {
if(uupApiPacksExist($val['uuid'])) continue;
generatePack($val['uuid']);
}