Added parameters that will allow fetching of retail builds of RS4
These parameters are already present in native requests made by Windows Update.
This commit is contained in:
parent
77de8b3efc
commit
1d9338025e
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
function uupApiVersion() {
|
function uupApiVersion() {
|
||||||
return '1.10.0';
|
return '1.10.1';
|
||||||
}
|
}
|
||||||
|
|
||||||
function uupApiPrintBrand() {
|
function uupApiPrintBrand() {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
Copyright 2017 UUP dump API authors
|
Copyright 2018 UUP dump API authors
|
||||||
|
|
||||||
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.
|
||||||
@ -28,7 +28,7 @@ function composeDeviceAttributes($flight, $ring, $build, $arch) {
|
|||||||
$attrib = array(
|
$attrib = array(
|
||||||
'App=WU',
|
'App=WU',
|
||||||
'AppVer='.$build,
|
'AppVer='.$build,
|
||||||
'AttrDataVer=30',
|
'AttrDataVer=38',
|
||||||
'BranchReadinessLevel=CB',
|
'BranchReadinessLevel=CB',
|
||||||
'CurrentBranch='.$branch,
|
'CurrentBranch='.$branch,
|
||||||
'DeviceFamily=Windows.Desktop',
|
'DeviceFamily=Windows.Desktop',
|
||||||
@ -38,6 +38,7 @@ function composeDeviceAttributes($flight, $ring, $build, $arch) {
|
|||||||
'FlightRing='.$ring,
|
'FlightRing='.$ring,
|
||||||
'Free=32to64',
|
'Free=32to64',
|
||||||
'GStatus_RS3=2',
|
'GStatus_RS3=2',
|
||||||
|
'GStatus_RS4=2',
|
||||||
'InstallationType=Client',
|
'InstallationType=Client',
|
||||||
'InstallLanguage=en-US',
|
'InstallLanguage=en-US',
|
||||||
'IsDeviceRetailDemo=0',
|
'IsDeviceRetailDemo=0',
|
||||||
@ -54,10 +55,11 @@ function composeDeviceAttributes($flight, $ring, $build, $arch) {
|
|||||||
'TelemetryLevel=1',
|
'TelemetryLevel=1',
|
||||||
'UpdateManagementGroup=2',
|
'UpdateManagementGroup=2',
|
||||||
'UpgEx_RS3=Green',
|
'UpgEx_RS3=Green',
|
||||||
|
'UpgEx_RS4=Green',
|
||||||
'WuClientVer='.$build,
|
'WuClientVer='.$build,
|
||||||
);
|
);
|
||||||
|
|
||||||
return 'E:'.implode('&', $attrib);
|
return implode(';', $attrib);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns the most possible branch for selected build
|
// Returns the most possible branch for selected build
|
||||||
|
Loading…
Reference in New Issue
Block a user