diff --git a/get.php b/get.php index a0331ed..ba44e19 100644 --- a/get.php +++ b/get.php @@ -95,6 +95,7 @@ function uupGetFiles($updateId = 'c2a1d787-647b-486d-b264-f90f3782cdc6', $usePac return array('error' => 'EMPTY_FILELIST'); } + $updateArch = (isset($info['arch'])) ? $info['arch'] : 'UNKNOWN'; $updateName = (isset($info['title'])) ? $info['title'] : 'Unknown update: '.$updateId; $info = $info['files']; $out = preg_replace('/|<\/FileLocation>/', '', $out[0]); @@ -220,6 +221,7 @@ function uupGetFiles($updateId = 'c2a1d787-647b-486d-b264-f90f3782cdc6', $usePac return array( 'apiVersion' => uupApiVersion(), 'updateName' => $updateName, + 'arch' => $updateArch, 'files' => $files, ); } diff --git a/shared/main.php b/shared/main.php index ba5457e..3673000 100644 --- a/shared/main.php +++ b/shared/main.php @@ -16,7 +16,7 @@ limitations under the License. */ function uupApiVersion() { - return '0.5.1-beta'; + return '0.6.0-beta'; } function uupApiPrintBrand() {