Fix some updates containing architecture multiple times in name

This commit is contained in:
mkuba50 2019-04-30 17:06:00 +02:00
parent a62526211a
commit 0206534739
2 changed files with 2 additions and 2 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 ?/i", '', $updateTitle);
$updateTitle = preg_replace("/ ?\d{4}-\d{2} ?| ?$arch ?| ?x64 ?/i", '', $updateTitle);
if(!preg_match("/$foundBuild/i", $updateTitle)) {
$updateTitle = $updateTitle.' ('.$foundBuild.')';

View File

@ -16,7 +16,7 @@ limitations under the License.
*/
function uupApiVersion() {
return '1.21.3';
return '1.21.4';
}
require_once dirname(__FILE__).'/auths.php';