From 0da5532141693b5cb422b4b8a8df7226858d21c6 Mon Sep 17 00:00:00 2001 From: orin Date: Fri, 21 Nov 2025 18:23:07 +0100 Subject: [PATCH] Add Windows 11 to update names --- fetchupd.php | 6 ++++-- shared/requests.php | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/fetchupd.php b/fetchupd.php index f460da9..f3d4819 100644 --- a/fetchupd.php +++ b/fetchupd.php @@ -344,9 +344,11 @@ function parseFetchUpdate($updateInfo, $out, $arch, $ring, $flight, $build, $sku if($foundType == 'server') { $updateTitle = str_replace('Windows 10', 'Windows Server', $updateTitle); $updateTitle = str_replace('Windows 11', 'Windows Server', $updateTitle); + } - if(preg_match('/Server|Azure Stack HCI/i', $updateTitle) !== 1) - $updateTitle = str_replace('Update', 'Update for Microsoft server operating system', $updateTitle); + if(preg_match('/Windows 1\d|Server|Azure Stack HCI/i', $updateTitle) !== 1) { + $osName = $foundType != 'server' ? 'Windows 11' : 'Microsoft server operating system'; + $updateTitle = str_replace('Update', "Update for $osName", $updateTitle); } if($sku == 406) diff --git a/shared/requests.php b/shared/requests.php index ffa2dd5..2b403f8 100644 --- a/shared/requests.php +++ b/shared/requests.php @@ -320,6 +320,10 @@ function branchFromBuild($build) { $branch = 'ge_release'; break; + case 28000: + $branch = 'br_release'; + break; + default: $branch = 'rs_prerelease'; break;