forked from uup-dump/api
Update attributes
This commit is contained in:
parent
8bceb8aac3
commit
4c4bf727cb
@ -16,7 +16,7 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
function uupApiVersion() {
|
||||
return '1.28.0';
|
||||
return '1.28.1';
|
||||
}
|
||||
|
||||
require_once dirname(__FILE__).'/auths.php';
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
Copyright 2019 whatever127
|
||||
Copyright 2020 whatever127
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (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(
|
||||
'App=WU_OS',
|
||||
'AppVer='.$build,
|
||||
'AttrDataVer=69',
|
||||
'AttrDataVer=75',
|
||||
'BlockFeatureUpdates='.$blockUpgrades,
|
||||
'BranchReadinessLevel=CB',
|
||||
'CurrentBranch='.$branch,
|
||||
@ -112,6 +112,10 @@ function branchFromBuild($build) {
|
||||
$branch = '19h1_release';
|
||||
break;
|
||||
|
||||
case 19041:
|
||||
$branch = 'vb_release';
|
||||
break;
|
||||
|
||||
default:
|
||||
$branch = 'rs_prerelease';
|
||||
break;
|
||||
@ -228,10 +232,11 @@ function composeFetchUpdRequest($device, $encData, $arch, $flight, $ring, $build
|
||||
}
|
||||
|
||||
$callerAttrib = array(
|
||||
'Id=UpdateOrchestrator',
|
||||
'SheddingAware=1',
|
||||
'Interactive=1',
|
||||
'Profile=AUv2',
|
||||
'SheddingAware=1',
|
||||
'IsSeeker=1',
|
||||
'Id=MoUpdateOrchestrator',
|
||||
);
|
||||
|
||||
$products = htmlentities(implode(';', $products));
|
||||
|
Loading…
Reference in New Issue
Block a user