Rework listid.php, move low priority updates to the bottom

This commit is contained in:
2026-06-28 00:53:52 +02:00
parent 287a25a353
commit 20ddcb74e5
2 changed files with 88 additions and 74 deletions

View File

@@ -207,3 +207,18 @@ function getAllowedFlags() {
function uupAreAppxPresent($genPack) {
return isset($genPack['neutral']['APP']);
}
function uupApiIsUpdateLowPriority($title) {
$titles = [
'Update Stack Package',
'.NET Framework',
'OOBE'
];
foreach($titles as $val) {
if(str_contains($title, $val) == true)
return true;
}
return false;
}