Update metadata and generated packs
This commit is contained in:
parent
451d9e38c9
commit
a90dc04636
@ -16,7 +16,7 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
function uupApiVersion() {
|
||||
return '1.21.1';
|
||||
return '1.21.2';
|
||||
}
|
||||
|
||||
require_once dirname(__FILE__).'/auths.php';
|
||||
|
BIN
shared/packs/20636b9f7802215ae681e3f37d8f9b2a557012ca.json.gz
Normal file
BIN
shared/packs/20636b9f7802215ae681e3f37d8f9b2a557012ca.json.gz
Normal file
Binary file not shown.
BIN
shared/packs/23fb6d223a9d0712b19d80f5f814587863fdc9ca.json.gz
Normal file
BIN
shared/packs/23fb6d223a9d0712b19d80f5f814587863fdc9ca.json.gz
Normal file
Binary file not shown.
BIN
shared/packs/24df4f734aa360eceab6ecb725b00a6a76abc8d6.json.gz
Normal file
BIN
shared/packs/24df4f734aa360eceab6ecb725b00a6a76abc8d6.json.gz
Normal file
Binary file not shown.
BIN
shared/packs/4f5ee2c4623d9e0165c5a735d8675edfcc4902fd.json.gz
Normal file
BIN
shared/packs/4f5ee2c4623d9e0165c5a735d8675edfcc4902fd.json.gz
Normal file
Binary file not shown.
BIN
shared/packs/5f43da91211a27967f6711488b7844bb789b3009.json.gz
Normal file
BIN
shared/packs/5f43da91211a27967f6711488b7844bb789b3009.json.gz
Normal file
Binary file not shown.
BIN
shared/packs/6ebbc6ec5a2b6b090bd3f6c7bd0c1b6a778f89da.json.gz
Normal file
BIN
shared/packs/6ebbc6ec5a2b6b090bd3f6c7bd0c1b6a778f89da.json.gz
Normal file
Binary file not shown.
BIN
shared/packs/e130e44c6a02c08e7f7e02fb19b3b8f8e7d2d309.json.gz
Normal file
BIN
shared/packs/e130e44c6a02c08e7f7e02fb19b3b8f8e7d2d309.json.gz
Normal file
Binary file not shown.
BIN
shared/packs/ee8697e8066bb013b70741824d4dad7b0d4171b5.json.gz
Normal file
BIN
shared/packs/ee8697e8066bb013b70741824d4dad7b0d4171b5.json.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -18,19 +18,23 @@ limitations under the License.
|
||||
// Composes DeviceAttributes parameter needed to fetch data
|
||||
function composeDeviceAttributes($flight, $ring, $build, $arch, $sku) {
|
||||
$branch = branchFromBuild($build);
|
||||
$blockUpgrades = 0;
|
||||
$flightEnabled = 1;
|
||||
$isRetail = 0;
|
||||
|
||||
if($ring == 'RETAIL') {
|
||||
$flightEnabled = 0;
|
||||
$isRetail = 1;
|
||||
} else {
|
||||
$flightEnabled = 1;
|
||||
$isRetail = 0;
|
||||
}
|
||||
|
||||
if($sku == 125 || $sku == 126)
|
||||
$blockUpgrades = 1;
|
||||
|
||||
$attrib = array(
|
||||
'App=WU_OS',
|
||||
'AppVer='.$build,
|
||||
'AttrDataVer=60',
|
||||
'AttrDataVer=61',
|
||||
'BlockFeatureUpdates='.$blockUpgrades,
|
||||
'BranchReadinessLevel=CB',
|
||||
'CurrentBranch='.$branch,
|
||||
'DefaultUserRegion=191',
|
||||
@ -90,6 +94,10 @@ function branchFromBuild($build) {
|
||||
$branch = 'rs5_release';
|
||||
break;
|
||||
|
||||
case 18362:
|
||||
$branch = '19h1_release';
|
||||
break;
|
||||
|
||||
default:
|
||||
$branch = 'rs_prerelease';
|
||||
break;
|
||||
@ -176,7 +184,7 @@ function composeFetchUpdRequest($device, $encData, $arch, $flight, $ring, $build
|
||||
}
|
||||
|
||||
$products = array(
|
||||
'PN='.$mainProduct.'.'.$arch.'&Branch='.$branch.'&PrimaryOSProduct=1&Repairable=1&V='.$build,
|
||||
'PN='.$mainProduct.'.'.$arch.'&Branch='.$branch.'&PrimaryOSProduct=1&Repairable=1&V='.$build.'&ReofferUpdate=1',
|
||||
'PN=Windows.Appraiser.'.$arch.'&Repairable=1&V='.$build,
|
||||
'PN=Windows.AppraiserData.'.$arch.'&Repairable=1&V='.$build,
|
||||
'PN=Windows.EmergencyUpdate.'.$arch.'&Repairable=1&V='.$build,
|
||||
|
Loading…
Reference in New Issue
Block a user