Add support for Windows Feature Experience Pack

This commit is contained in:
abbodi1406
2021-01-27 00:52:54 +03:00
parent 3aa89af281
commit 7ed939f0cc
4 changed files with 18 additions and 10 deletions

View File

@ -1,6 +1,6 @@
<?php
/*
Copyright 2020 whatever127
Copyright 2021 whatever127
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -16,7 +16,7 @@ limitations under the License.
*/
function uupApiVersion() {
return '1.30.3';
return '1.30.4';
}
require_once dirname(__FILE__).'/auths.php';

View File

@ -180,6 +180,10 @@ function branchFromBuild($build) {
$branch = 'vb_release';
break;
case 19043: //19043 is a fake build based on 19041
$branch = 'vb_release';
break;
default:
$branch = 'rs_prerelease';
break;
@ -287,7 +291,7 @@ function composeFetchUpdRequest($device, $encData, $arch, $flight, $ring, $build
$products[] = "PN=Windows.Appraiser.$currArch&Repairable=1&V=$build";
$products[] = "PN=Windows.AppraiserData.$currArch&Repairable=1&V=$build";
$products[] = "PN=Windows.EmergencyUpdate.$currArch&Repairable=1&V=$build";
$products[] = "PN=Windows.FeatureExperiencePack.$currArch&Repairable=1&V=$build";
$products[] = "PN=Windows.FeatureExperiencePack.$currArch&Repairable=1&V=0.0.0.0";
$products[] = "PN=Windows.ManagementOOBE.$currArch&IsWindowsManagementOOBE=1&Repairable=1&V=$build";
$products[] = "PN=Windows.OOBE.$currArch&IsWindowsOOBE=1&Repairable=1&V=$build";
$products[] = "PN=Windows.UpdateStackPackage.$currArch&Name=Update Stack Package&Repairable=1&V=$build";