Merge pull request #8 from abbodi1406/master

Regenerate internal packs. Update attributes. Exclude Diffs files.
This commit is contained in:
luzea 2021-01-19 22:10:31 +01:00 committed by GitHub
commit 3aa89af281
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
235 changed files with 40 additions and 7 deletions

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
Copyright 2019 whatever127 Copyright 2021 whatever127
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@ -193,6 +193,13 @@ function parseFetchUpdate($updateInfo, $out, $arch, $ring, $flight, $build, $sku
$foundArch = @strtolower($info[2]); $foundArch = @strtolower($info[2]);
$foundBuild = @$info[3]; $foundBuild = @$info[3];
if((!$foundArch)) {
preg_match('/ProductReleaseInstalled Name\="(.*?)\.(.*?)" Version\="10\.0\.(.*?)"/', $updateInfo, $info);
$foundType = @strtolower($info[1]);
$foundArch = @strtolower($info[2]);
$foundBuild = @$info[3];
}
$updateTitle = preg_grep('/<Title>.*<\/Title>/', $updateMeta); $updateTitle = preg_grep('/<Title>.*<\/Title>/', $updateMeta);
sort($updateTitle); sort($updateTitle);

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
Copyright 2019 whatever127 Copyright 2021 whatever127
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@ -152,6 +152,11 @@ function uupGetFiles(
if(isset($files[$val])) unset($files[$val]); if(isset($files[$val])) unset($files[$val]);
} }
$diffs = preg_grep('/.*_Diffs_.*/i', array_keys($files));
foreach($diffs as $val) {
if(isset($files[$val])) unset($files[$val]);
}
$psf = array_keys($files); $psf = array_keys($files);
$psf = preg_grep('/\.psf$/i', $psf); $psf = preg_grep('/\.psf$/i', $psf);

View File

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

Some files were not shown because too many files have changed in this diff Show More