From 3b884e20861e53d9f10f5b62054eeba5f5b7c258 Mon Sep 17 00:00:00 2001 From: abbodi1406 Date: Fri, 22 Oct 2021 20:38:07 +0300 Subject: [PATCH] Rename WIP 11 CU for Server --- fetchupd.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fetchupd.php b/fetchupd.php index a4dbbfb..30bb128 100644 --- a/fetchupd.php +++ b/fetchupd.php @@ -237,8 +237,10 @@ function parseFetchUpdate($updateInfo, $out, $arch, $ring, $flight, $build, $sku $updateTitle = preg_replace("/ ?\d{4}-\d{2}\D ?| ?$foundArch ?| ?x64 ?/i", '', $updateTitle); - if($foundType == 'server') + if($foundType == 'server') { $updateTitle = str_replace('Windows 10', 'Windows Server', $updateTitle); + $updateTitle = str_replace('Windows 11', 'Windows Server', $updateTitle); + } if($sku == 406) $updateTitle = str_replace('Microsoft server operating system', 'Azure Stack HCI', $updateTitle);