From b9b4578f56c7bbde3f6f6f89db676cf86b88cdf9 Mon Sep 17 00:00:00 2001 From: whatever127 Date: Tue, 14 May 2019 20:12:50 +0200 Subject: [PATCH] Fix names of some updates, update attributes --- fetchupd.php | 2 +- shared/main.php | 2 +- shared/requests.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fetchupd.php b/fetchupd.php index 68d8060..22b8d92 100644 --- a/fetchupd.php +++ b/fetchupd.php @@ -209,7 +209,7 @@ function parseFetchUpdate($updateInfo, $out, $arch, $ring, $flight, $build, $sku $updateTitle = preg_replace('/ for .{3,5}-based systems| \(KB.*?\)/i', '', $updateTitle); } - $updateTitle = preg_replace("/ ?\d{4}-\d{2} ?| ?$arch ?| ?x64 ?/i", '', $updateTitle); + $updateTitle = preg_replace("/ ?\d{4}-\d{2}\w{0,1} ?| ?$arch ?| ?x64 ?/i", '', $updateTitle); if(!preg_match("/$foundBuild/i", $updateTitle)) { $updateTitle = $updateTitle.' ('.$foundBuild.')'; diff --git a/shared/main.php b/shared/main.php index 87069c6..c3b7590 100644 --- a/shared/main.php +++ b/shared/main.php @@ -16,7 +16,7 @@ limitations under the License. */ function uupApiVersion() { - return '1.21.4'; + return '1.21.5'; } require_once dirname(__FILE__).'/auths.php'; diff --git a/shared/requests.php b/shared/requests.php index c843b9f..de2690e 100644 --- a/shared/requests.php +++ b/shared/requests.php @@ -33,7 +33,7 @@ function composeDeviceAttributes($flight, $ring, $build, $arch, $sku) { $attrib = array( 'App=WU_OS', 'AppVer='.$build, - 'AttrDataVer=61', + 'AttrDataVer=62', 'BlockFeatureUpdates='.$blockUpgrades, 'BranchReadinessLevel=CB', 'CurrentBranch='.$branch,