diff --git a/shared/main.php b/shared/main.php index cefeed9..c2bc82e 100644 --- a/shared/main.php +++ b/shared/main.php @@ -16,7 +16,7 @@ limitations under the License. */ function uupApiVersion() { - return '1.41.1'; + return '1.42.0-dev'; } require_once dirname(__FILE__).'/auths.php'; diff --git a/shared/packs.php b/shared/packs.php index 8f91100..d132c81 100644 --- a/shared/packs.php +++ b/shared/packs.php @@ -202,7 +202,7 @@ function uupGetInfoTexts() { ); } -function uupGetGenPacks($build = 15063, $arch = null, $updateId = null) { +function uupApiGetPacks($updateId) { if(empty($updateId)) return []; if(!file_exists('packs/'.$updateId.'.json.gz')) return []; @@ -212,3 +212,7 @@ function uupGetGenPacks($build = 15063, $arch = null, $updateId = null) { $genPack = json_decode($genPack, 1); return $genPack; } + +function uupGetGenPacks($build = 15063, $arch = null, $updateId = null) { + return uupApiGetPacks($updateId); +}