Fix names of some updates, update attributes

This commit is contained in:
whatever127
2019-05-14 20:12:50 +02:00
parent 0206534739
commit b9b4578f56
3 changed files with 3 additions and 3 deletions

View File

@ -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.')';