forked from uup-dump/api
Update DeviceAttributes
This commit is contained in:
parent
c7512dd40d
commit
03258c7bfe
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
function uupApiVersion() {
|
function uupApiVersion() {
|
||||||
return '1.40.1';
|
return '1.40.2';
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once dirname(__FILE__).'/auths.php';
|
require_once dirname(__FILE__).'/auths.php';
|
||||||
|
@ -112,11 +112,12 @@ function composeDeviceAttributes($flight, $ring, $build, $arch, $sku, $type) {
|
|||||||
$attrib = array(
|
$attrib = array(
|
||||||
'App=WU_OS',
|
'App=WU_OS',
|
||||||
'AppVer='.$build,
|
'AppVer='.$build,
|
||||||
'AttrDataVer=208',
|
'AttrDataVer=226',
|
||||||
'AllowInPlaceUpgrade=1',
|
'AllowInPlaceUpgrade=1',
|
||||||
'AllowUpgradesWithUnsupportedTPMOrCPU=1',
|
'AllowUpgradesWithUnsupportedTPMOrCPU=1',
|
||||||
'BlockFeatureUpdates='.$blockUpgrades,
|
'BlockFeatureUpdates='.$blockUpgrades,
|
||||||
'BranchReadinessLevel=CB',
|
'BranchReadinessLevel=CB',
|
||||||
|
'CIOptin=1',
|
||||||
'CurrentBranch='.$branch,
|
'CurrentBranch='.$branch,
|
||||||
'DataExpDateEpoch_CU23H2='.(time()+82800),
|
'DataExpDateEpoch_CU23H2='.(time()+82800),
|
||||||
'DataExpDateEpoch_CU23H2Setup='.(time()+82800),
|
'DataExpDateEpoch_CU23H2Setup='.(time()+82800),
|
||||||
@ -167,7 +168,7 @@ function composeDeviceAttributes($flight, $ring, $build, $arch, $sku, $type) {
|
|||||||
'DUScan=1',
|
'DUScan=1',
|
||||||
'OEMModel=Asus ROG Maximus Z690 Extreme',
|
'OEMModel=Asus ROG Maximus Z690 Extreme',
|
||||||
'OEMModelBaseBoard=ROG MAXIMUS Z690 EXTREME',
|
'OEMModelBaseBoard=ROG MAXIMUS Z690 EXTREME',
|
||||||
'OEMName_Uncleaned=ASUSTeK COMPUTER INC.',
|
'OEMName_Uncleaned=Contoso Corporation',
|
||||||
'OemPartnerRing=UPSFlighting',
|
'OemPartnerRing=UPSFlighting',
|
||||||
'OSArchitecture='.$arch,
|
'OSArchitecture='.$arch,
|
||||||
'OSSkuId='.$sku,
|
'OSSkuId='.$sku,
|
||||||
@ -282,6 +283,10 @@ function branchFromBuild($build) {
|
|||||||
$branch = 'ni_release';
|
$branch = 'ni_release';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 25398:
|
||||||
|
$branch = 'zn_release';
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
$branch = 'rs_prerelease';
|
$branch = 'rs_prerelease';
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user