Merge pull request #14 from abbodi1406/patch-1
Include LCU psf file for builds 21382 and later
This commit is contained in:
commit
fdb6c6ae65
7
get.php
7
get.php
@ -171,6 +171,13 @@ function uupGetFiles(
|
|||||||
$psf = array_keys($filesInfoList);
|
$psf = array_keys($filesInfoList);
|
||||||
$psf = preg_grep('/\.psf$/i', $psf);
|
$psf = preg_grep('/\.psf$/i', $psf);
|
||||||
|
|
||||||
|
$psfk = preg_grep('/Windows10\.0-KB.*/i', $psf);
|
||||||
|
$psfk = preg_grep('/.*-EXPRESS|.*-baseless/i', $psfk, PREG_GREP_INVERT);
|
||||||
|
if($build > 21380) foreach($psfk as $key => $val) {
|
||||||
|
if(isset($psf[$key])) unset($psf[$key]);
|
||||||
|
}
|
||||||
|
unset($psfk);
|
||||||
|
|
||||||
$removeFiles = array();
|
$removeFiles = array();
|
||||||
foreach($psf as $val) {
|
foreach($psf as $val) {
|
||||||
$name = preg_replace('/\.psf$/i', '', $val);
|
$name = preg_replace('/\.psf$/i', '', $val);
|
||||||
|
Loading…
Reference in New Issue
Block a user