Merge pull request #29 from abbodi1406/master

Update DeviceAttributes
This commit is contained in:
abbodi1406 2023-07-13 17:25:49 +03:00 committed by GitHub
commit 492fd22e46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;