Update attributes

This commit is contained in:
whatever127 2020-01-15 19:10:26 +01:00
parent 8bceb8aac3
commit 4c4bf727cb
2 changed files with 10 additions and 5 deletions

View File

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

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
Copyright 2019 whatever127 Copyright 2020 whatever127
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@ -37,7 +37,7 @@ function composeDeviceAttributes($flight, $ring, $build, $arch, $sku) {
$attrib = array( $attrib = array(
'App=WU_OS', 'App=WU_OS',
'AppVer='.$build, 'AppVer='.$build,
'AttrDataVer=69', 'AttrDataVer=75',
'BlockFeatureUpdates='.$blockUpgrades, 'BlockFeatureUpdates='.$blockUpgrades,
'BranchReadinessLevel=CB', 'BranchReadinessLevel=CB',
'CurrentBranch='.$branch, 'CurrentBranch='.$branch,
@ -112,6 +112,10 @@ function branchFromBuild($build) {
$branch = '19h1_release'; $branch = '19h1_release';
break; break;
case 19041:
$branch = 'vb_release';
break;
default: default:
$branch = 'rs_prerelease'; $branch = 'rs_prerelease';
break; break;
@ -228,10 +232,11 @@ function composeFetchUpdRequest($device, $encData, $arch, $flight, $ring, $build
} }
$callerAttrib = array( $callerAttrib = array(
'Id=UpdateOrchestrator',
'SheddingAware=1',
'Interactive=1', 'Interactive=1',
'Profile=AUv2',
'SheddingAware=1',
'IsSeeker=1', 'IsSeeker=1',
'Id=MoUpdateOrchestrator',
); );
$products = htmlentities(implode(';', $products)); $products = htmlentities(implode(';', $products));