forked from uup-dump/api
Change fetchupd update information output, fix some minor bugs
This commit is contained in:
@ -16,7 +16,7 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
function uupApiVersion() {
|
||||
return '1.10.2';
|
||||
return '1.10.3';
|
||||
}
|
||||
|
||||
function uupApiPrintBrand() {
|
||||
|
@ -59,6 +59,7 @@ function uupGetPacks($build = 15063) {
|
||||
|
||||
$allEditions = array(
|
||||
'ANALOGONECORE',
|
||||
'ANDROMEDA',
|
||||
'CLOUD',
|
||||
'CLOUDN',
|
||||
'CORE',
|
||||
@ -84,6 +85,7 @@ function uupGetPacks($build = 15063) {
|
||||
'ENTERPRISESNEVAL',
|
||||
'IOTUAP',
|
||||
'MOBILECORE',
|
||||
'ONECOREUPDATEOS',
|
||||
'PPIPRO',
|
||||
'PROFESSIONAL',
|
||||
'PROFESSIONALCOUNTRYSPECIFIC',
|
||||
@ -146,12 +148,12 @@ function uupGetPacks($build = 15063) {
|
||||
|
||||
if($build < 17063) {
|
||||
require dirname(__FILE__).'/packs/legacy.php';
|
||||
} elseif ($build >= 17063 && $build < 17093) {
|
||||
require dirname(__FILE__).'/packs/17063.php';
|
||||
} elseif ($build >= 17093 && $build < 17623) {
|
||||
require dirname(__FILE__).'/packs/17093.php';
|
||||
} elseif ($build >= 17623) {
|
||||
require dirname(__FILE__).'/packs/17623.php';
|
||||
} elseif ($build >= 17093) {
|
||||
require dirname(__FILE__).'/packs/17093.php';
|
||||
} elseif ($build >= 17063) {
|
||||
require dirname(__FILE__).'/packs/17063.php';
|
||||
}
|
||||
|
||||
return array(
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
Copyright 2017 UUP dump API authors
|
||||
Copyright 2018 UUP dump API authors
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@ -177,10 +177,10 @@ $editionPacks = array(
|
||||
);
|
||||
|
||||
$fancyEditionNames = array(
|
||||
'CORE' => 'Windows 10 Home / Home Single Language',
|
||||
'CORE' => 'Windows 10 Home',
|
||||
'CORECOUNTRYSPECIFIC' => 'Windows 10 Home China',
|
||||
'COREN' => 'Windows 10 Home N',
|
||||
'PROFESSIONAL' => 'Windows 10 Pro / Enterprise / Education / S',
|
||||
'PROFESSIONALN' => 'Windows 10 Pro N / Enterprise N / Education N / S N',
|
||||
'PROFESSIONAL' => 'Windows 10 Pro',
|
||||
'PROFESSIONALN' => 'Windows 10 Pro N',
|
||||
);
|
||||
?>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
Copyright 2017 UUP dump API authors
|
||||
Copyright 2018 UUP dump API authors
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@ -178,10 +178,10 @@ $editionPacks = array(
|
||||
);
|
||||
|
||||
$fancyEditionNames = array(
|
||||
'CORE' => 'Windows 10 Home / Home Single Language',
|
||||
'CORE' => 'Windows 10 Home',
|
||||
'CORECOUNTRYSPECIFIC' => 'Windows 10 Home China',
|
||||
'COREN' => 'Windows 10 Home N',
|
||||
'PROFESSIONAL' => 'Windows 10 Pro / Enterprise / Education',
|
||||
'PROFESSIONALN' => 'Windows 10 Pro N / Enterprise N / Education N',
|
||||
'PROFESSIONAL' => 'Windows 10 Pro',
|
||||
'PROFESSIONALN' => 'Windows 10 Pro N',
|
||||
);
|
||||
?>
|
||||
|
@ -27,6 +27,7 @@ $packs = array(
|
||||
'Microsoft-Windows-ContactSupport-Package',
|
||||
'Microsoft-Windows-Not-Supported-On-LTSB-Package',
|
||||
'Microsoft-Windows-Not-Supported-On-LTSB-WOW64-Package',
|
||||
'Microsoft-Windows-Not-Supported-On-LTSB-arm64arm-Package',
|
||||
'Microsoft-Windows-RegulatedPackages-Package',
|
||||
'Microsoft-Windows-RegulatedPackages-WOW64-Package',
|
||||
'Microsoft-Windows-RegulatedPackages-arm64arm-Package',
|
||||
@ -181,10 +182,10 @@ $editionPacks = array(
|
||||
);
|
||||
|
||||
$fancyEditionNames = array(
|
||||
'CORE' => 'Windows 10 Home / Home Single Language',
|
||||
'CORE' => 'Windows 10 Home',
|
||||
'CORECOUNTRYSPECIFIC' => 'Windows 10 Home China',
|
||||
'COREN' => 'Windows 10 Home N',
|
||||
'PROFESSIONAL' => 'Windows 10 Pro / Enterprise / Education',
|
||||
'PROFESSIONALN' => 'Windows 10 Pro N / Enterprise N / Education N',
|
||||
'PROFESSIONAL' => 'Windows 10 Pro',
|
||||
'PROFESSIONALN' => 'Windows 10 Pro N',
|
||||
);
|
||||
?>
|
||||
|
Reference in New Issue
Block a user