Update DeviceAttributes

This commit is contained in:
abbodi1406 2023-07-13 17:23:18 +03:00
parent c7512dd40d
commit 03258c7bfe
2 changed files with 8 additions and 3 deletions

View File

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

View File

@ -112,11 +112,12 @@ function composeDeviceAttributes($flight, $ring, $build, $arch, $sku, $type) {
$attrib = array(
'App=WU_OS',
'AppVer='.$build,
'AttrDataVer=208',
'AttrDataVer=226',
'AllowInPlaceUpgrade=1',
'AllowUpgradesWithUnsupportedTPMOrCPU=1',
'BlockFeatureUpdates='.$blockUpgrades,
'BranchReadinessLevel=CB',
'CIOptin=1',
'CurrentBranch='.$branch,
'DataExpDateEpoch_CU23H2='.(time()+82800),
'DataExpDateEpoch_CU23H2Setup='.(time()+82800),
@ -167,7 +168,7 @@ function composeDeviceAttributes($flight, $ring, $build, $arch, $sku, $type) {
'DUScan=1',
'OEMModel=Asus ROG Maximus Z690 Extreme',
'OEMModelBaseBoard=ROG MAXIMUS Z690 EXTREME',
'OEMName_Uncleaned=ASUSTeK COMPUTER INC.',
'OEMName_Uncleaned=Contoso Corporation',
'OemPartnerRing=UPSFlighting',
'OSArchitecture='.$arch,
'OSSkuId='.$sku,
@ -282,6 +283,10 @@ function branchFromBuild($build) {
$branch = 'ni_release';
break;
case 25398:
$branch = 'zn_release';
break;
default:
$branch = 'rs_prerelease';
break;