Update Attributes

This commit is contained in:
abbodi1406 2021-06-28 20:42:22 +03:00 committed by GitHub
parent fdb6c6ae65
commit 0c14f42ca1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,10 +106,11 @@ function composeDeviceAttributes($flight, $ring, $build, $arch, $sku, $type) {
$attrib = array( $attrib = array(
'App=WU_OS', 'App=WU_OS',
'AppVer='.$build, 'AppVer='.$build,
'AttrDataVer=134', 'AttrDataVer=139',
'BlockFeatureUpdates='.$blockUpgrades, 'BlockFeatureUpdates='.$blockUpgrades,
'BranchReadinessLevel=CB', 'BranchReadinessLevel=CB',
'CurrentBranch='.$branch, 'CurrentBranch='.$branch,
'DataExpDateEpoch_CO21H2='.(time()+82800),
'DataExpDateEpoch_21H1='.(time()+82800), 'DataExpDateEpoch_21H1='.(time()+82800),
'DataExpDateEpoch_20H1='.(time()+82800), 'DataExpDateEpoch_20H1='.(time()+82800),
'DataExpDateEpoch_19H1='.(time()+82800), 'DataExpDateEpoch_19H1='.(time()+82800),
@ -152,10 +153,13 @@ function composeDeviceAttributes($flight, $ring, $build, $arch, $sku, $type) {
'ReleaseType='.$type, 'ReleaseType='.$type,
'SdbVer_20H1=2000000000', 'SdbVer_20H1=2000000000',
'SdbVer_19H1=2000000000', 'SdbVer_19H1=2000000000',
'SecureBootCapable=1',
'TelemetryLevel=3', 'TelemetryLevel=3',
'TimestampEpochString_CO21H2='.(time()-3600),
'TimestampEpochString_21H1='.(time()-3600), 'TimestampEpochString_21H1='.(time()-3600),
'TimestampEpochString_20H1='.(time()-3600), 'TimestampEpochString_20H1='.(time()-3600),
'TimestampEpochString_19H1='.(time()-3600), 'TimestampEpochString_19H1='.(time()-3600),
'TPMVersion=2',
'UpdateManagementGroup=2', 'UpdateManagementGroup=2',
'UpdateOfferedDays=0', 'UpdateOfferedDays=0',
'UpgEx_CO21H2=Green', 'UpgEx_CO21H2=Green',
@ -194,7 +198,7 @@ function branchFromBuild($build) {
break; break;
case 17784: case 17784:
$branch = 'rs5_release'; $branch = 'rs5_release_svc_hci';
break; break;
case 18362: case 18362:
@ -229,6 +233,10 @@ function branchFromBuild($build) {
$branch = 'fe_release'; $branch = 'fe_release';
break; break;
case 22000:
$branch = 'co_release';
break;
default: default:
$branch = 'rs_prerelease'; $branch = 'rs_prerelease';
break; break;