forked from uup-dump/api
Add additional appx presence checks
This commit is contained in:
parent
faa3b7fa45
commit
5e31a6f724
1
get.php
1
get.php
@ -372,6 +372,7 @@ function uupGetFiles(
|
||||
'build' => $updateBuild,
|
||||
'sku' => $updateSku,
|
||||
'hasUpdates' => $hasUpdates,
|
||||
'appxPresent' => uupAreAppxPresent($genPack),
|
||||
'files' => $files,
|
||||
];
|
||||
|
||||
|
@ -40,7 +40,7 @@ function uupListLangsInternal($updateId) {
|
||||
return [
|
||||
'langList' => $langList,
|
||||
'langFancyNames' => $langListFancy,
|
||||
'appxPresent' => isset($genPack['neutral']['APP']),
|
||||
'appxPresent' => uupAreAppxPresent($genPack),
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
function uupApiVersion() {
|
||||
return '1.46.0';
|
||||
return '1.47.0';
|
||||
}
|
||||
|
||||
require_once dirname(__FILE__).'/auths.php';
|
||||
|
@ -199,3 +199,7 @@ function getAllowedFlags() {
|
||||
|
||||
return $flags;
|
||||
}
|
||||
|
||||
function uupAreAppxPresent($genPack) {
|
||||
return isset($genPack['neutral']['APP']);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user