Add additional appx presence checks

This commit is contained in:
Kaenbyou Rin 2024-06-21 13:31:41 +02:00
parent faa3b7fa45
commit 5e31a6f724
4 changed files with 7 additions and 2 deletions

View File

@ -372,6 +372,7 @@ function uupGetFiles(
'build' => $updateBuild,
'sku' => $updateSku,
'hasUpdates' => $hasUpdates,
'appxPresent' => uupAreAppxPresent($genPack),
'files' => $files,
];

View File

@ -40,7 +40,7 @@ function uupListLangsInternal($updateId) {
return [
'langList' => $langList,
'langFancyNames' => $langListFancy,
'appxPresent' => isset($genPack['neutral']['APP']),
'appxPresent' => uupAreAppxPresent($genPack),
];
}

View File

@ -16,7 +16,7 @@ limitations under the License.
*/
function uupApiVersion() {
return '1.46.0';
return '1.47.0';
}
require_once dirname(__FILE__).'/auths.php';

View File

@ -199,3 +199,7 @@ function getAllowedFlags() {
return $flags;
}
function uupAreAppxPresent($genPack) {
return isset($genPack['neutral']['APP']);
}