forked from uup-dump/contrib
Compare commits
No commits in common. "f587655e99a39180c64b14e53df56c49dc888957" and "935557254c7efb05e966da088cc7c1c7dfd20fac" have entirely different histories.
f587655e99
...
935557254c
22
get.php
22
get.php
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
// Copyright (C) 2024 UUP dump authors. All rights reserved.
|
// Copyright (C) 2023 UUP dump authors. All rights reserved.
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Changing anything in this file is a really painful experience.
|
* Changing anything in this file is a really painful experience.
|
||||||
@ -31,7 +31,7 @@ function createUupConvertPackage(
|
|||||||
|
|
||||||
:DOWNLOAD_APPS
|
:DOWNLOAD_APPS
|
||||||
echo Retrieving aria2 script for Microsoft Store Apps...
|
echo Retrieving aria2 script for Microsoft Store Apps...
|
||||||
"%aria2%" --no-conf --async-dns=false --console-log-level=warn --log-level=info --log="aria2_download.log" -o"%aria2Script%" --allow-overwrite=true --auto-file-renaming=false "$app"
|
"%aria2%" --no-conf --console-log-level=warn --log-level=info --log="aria2_download.log" -o"%aria2Script%" --allow-overwrite=true --auto-file-renaming=false "$app"
|
||||||
if %ERRORLEVEL% GTR 0 call :DOWNLOAD_ERROR & exit /b 1
|
if %ERRORLEVEL% GTR 0 call :DOWNLOAD_ERROR & exit /b 1
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ if NOT [%DETECTED_ERROR%] == [] (
|
|||||||
)
|
)
|
||||||
|
|
||||||
echo Downloading Microsoft Store Apps...
|
echo Downloading Microsoft Store Apps...
|
||||||
"%aria2%" --no-conf --async-dns=false --console-log-level=warn --log-level=info --log="aria2_download.log" -x16 -s16 -j25 -c -R -d"%destDir%" -i"%aria2Script%"
|
"%aria2%" --no-conf --console-log-level=warn --log-level=info --log="aria2_download.log" -x16 -s16 -j25 -c -R -d"%destDir%" -i"%aria2Script%"
|
||||||
if %ERRORLEVEL% GTR 0 goto :DOWNLOAD_APPS
|
if %ERRORLEVEL% GTR 0 goto :DOWNLOAD_APPS
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
@ -119,7 +119,7 @@ powershell -NoProfile -ExecutionPolicy Unrestricted .\\files\\get_aria2.ps1 || (
|
|||||||
echo.
|
echo.
|
||||||
|
|
||||||
echo Downloading the UUP converter...
|
echo Downloading the UUP converter...
|
||||||
"%aria2%" --no-conf --async-dns=false --console-log-level=warn --log-level=info --log="aria2_download.log" -x16 -s16 -j2 -c -R -d"files" -i"files\\converter_windows"
|
"%aria2%" --no-conf --console-log-level=warn --log-level=info --log="aria2_download.log" -x16 -s16 -j2 -c -R -d"files" -i"files\\converter_windows"
|
||||||
if %ERRORLEVEL% GTR 0 call :DOWNLOAD_CONVERTER_ERROR & exit /b 1
|
if %ERRORLEVEL% GTR 0 call :DOWNLOAD_CONVERTER_ERROR & exit /b 1
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
@ -134,7 +134,7 @@ echo.
|
|||||||
$downloadapp
|
$downloadapp
|
||||||
:DOWNLOAD_UUPS
|
:DOWNLOAD_UUPS
|
||||||
echo Retrieving aria2 script for the UUP set...
|
echo Retrieving aria2 script for the UUP set...
|
||||||
"%aria2%" --no-conf --async-dns=false --console-log-level=warn --log-level=info --log="aria2_download.log" -o"%aria2Script%" --allow-overwrite=true --auto-file-renaming=false "$url"
|
"%aria2%" --no-conf --console-log-level=warn --log-level=info --log="aria2_download.log" -o"%aria2Script%" --allow-overwrite=true --auto-file-renaming=false "$url"
|
||||||
if %ERRORLEVEL% GTR 0 call :DOWNLOAD_ERROR & exit /b 1
|
if %ERRORLEVEL% GTR 0 call :DOWNLOAD_ERROR & exit /b 1
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
@ -148,7 +148,7 @@ if NOT [%DETECTED_ERROR%] == [] (
|
|||||||
)
|
)
|
||||||
|
|
||||||
echo Downloading the UUP set...
|
echo Downloading the UUP set...
|
||||||
"%aria2%" --no-conf --async-dns=false --console-log-level=warn --log-level=info --log="aria2_download.log" -x16 -s16 -j5 -c -R -d"%destDir%" -i"%aria2Script%"
|
"%aria2%" --no-conf --console-log-level=warn --log-level=info --log="aria2_download.log" -x16 -s16 -j5 -c -R -d"%destDir%" -i"%aria2Script%"
|
||||||
if %ERRORLEVEL% GTR 0 goto :DOWNLOAD_UUPS & exit /b 1
|
if %ERRORLEVEL% GTR 0 goto :DOWNLOAD_UUPS & exit /b 1
|
||||||
|
|
||||||
if EXIST convert-UUP.cmd goto :START_CONVERT
|
if EXIST convert-UUP.cmd goto :START_CONVERT
|
||||||
@ -369,7 +369,7 @@ function createAria2Package($url, $archiveName, $app = null) {
|
|||||||
$time = gmdate("Y-m-d H:i:s T", time());
|
$time = gmdate("Y-m-d H:i:s T", time());
|
||||||
|
|
||||||
$ariacmd = <<<TEXT
|
$ariacmd = <<<TEXT
|
||||||
"%aria2%" --no-conf --async-dns=false --console-log-level=warn --log-level=info --log="aria2_download.log" -x16 -s16 -j5 -c -R -d"%destDir%" -i"%aria2Script%"
|
"%aria2%" --no-conf --console-log-level=warn --log-level=info --log="aria2_download.log" -x16 -s16 -j5 -c -R -d"%destDir%" -i"%aria2Script%"
|
||||||
TEXT;
|
TEXT;
|
||||||
|
|
||||||
$ariabash = <<<TEXT
|
$ariabash = <<<TEXT
|
||||||
@ -378,7 +378,7 @@ TEXT;
|
|||||||
|
|
||||||
if(strpos($archiveName, "_app")) {
|
if(strpos($archiveName, "_app")) {
|
||||||
$ariacmd = <<<TEXT
|
$ariacmd = <<<TEXT
|
||||||
"%aria2%" --no-conf --async-dns=false --console-log-level=warn --log-level=info --log="aria2_download.log" -x16 -s16 -j25 -c -R -d"%destDir%" -i"%aria2Script%"
|
"%aria2%" --no-conf --console-log-level=warn --log-level=info --log="aria2_download.log" -x16 -s16 -j25 -c -R -d"%destDir%" -i"%aria2Script%"
|
||||||
TEXT;
|
TEXT;
|
||||||
|
|
||||||
$ariabash = <<<TEXT
|
$ariabash = <<<TEXT
|
||||||
@ -392,7 +392,7 @@ TEXT;
|
|||||||
|
|
||||||
:DOWNLOAD_APPS
|
:DOWNLOAD_APPS
|
||||||
echo Retrieving aria2 script for Microsoft Store Apps...
|
echo Retrieving aria2 script for Microsoft Store Apps...
|
||||||
"%aria2%" --no-conf --async-dns=false --console-log-level=warn --log-level=info --log="aria2_download.log" -o"%aria2Script%" --allow-overwrite=true --auto-file-renaming=false "$app"
|
"%aria2%" --no-conf --console-log-level=warn --log-level=info --log="aria2_download.log" -o"%aria2Script%" --allow-overwrite=true --auto-file-renaming=false "$app"
|
||||||
if %ERRORLEVEL% GTR 0 call :DOWNLOAD_ERROR & exit /b 1
|
if %ERRORLEVEL% GTR 0 call :DOWNLOAD_ERROR & exit /b 1
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
@ -406,7 +406,7 @@ if NOT [%DETECTED_ERROR%] == [] (
|
|||||||
)
|
)
|
||||||
|
|
||||||
echo Downloading Microsoft Store Apps...
|
echo Downloading Microsoft Store Apps...
|
||||||
"%aria2%" --no-conf --async-dns=false --console-log-level=warn --log-level=info --log="aria2_download.log" -x16 -s16 -j25 -c -R -d"%destDir%" -i"%aria2Script%"
|
"%aria2%" --no-conf --console-log-level=warn --log-level=info --log="aria2_download.log" -x16 -s16 -j25 -c -R -d"%destDir%" -i"%aria2Script%"
|
||||||
if %ERRORLEVEL% GTR 0 goto :DOWNLOAD_APPS
|
if %ERRORLEVEL% GTR 0 goto :DOWNLOAD_APPS
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
@ -445,7 +445,7 @@ echo.
|
|||||||
$downloadapp
|
$downloadapp
|
||||||
:DOWNLOAD_UUPS
|
:DOWNLOAD_UUPS
|
||||||
echo Retrieving aria2 script for the UUP set...
|
echo Retrieving aria2 script for the UUP set...
|
||||||
"%aria2%" --no-conf --async-dns=false --console-log-level=warn --log-level=info --log="aria2_download.log" -o"%aria2Script%" --allow-overwrite=true --auto-file-renaming=false "$url"
|
"%aria2%" --no-conf --console-log-level=warn --log-level=info --log="aria2_download.log" -o"%aria2Script%" --allow-overwrite=true --auto-file-renaming=false "$url"
|
||||||
if %ERRORLEVEL% GTR 0 call :DOWNLOAD_ERROR & exit /b 1
|
if %ERRORLEVEL% GTR 0 call :DOWNLOAD_ERROR & exit /b 1
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
|
@ -321,6 +321,5 @@ $s['edition_SERVERSTANDARD'] = 'Windows Server Standard';
|
|||||||
$s['edition_SERVERSTANDARDCORE'] = 'Windows Server Standard - بدون الواجهة الرسومية';
|
$s['edition_SERVERSTANDARDCORE'] = 'Windows Server Standard - بدون الواجهة الرسومية';
|
||||||
$s['edition_SERVERTURBINE'] = 'Windows Server Datacenter: Azure Edition';
|
$s['edition_SERVERTURBINE'] = 'Windows Server Datacenter: Azure Edition';
|
||||||
$s['edition_SERVERTURBINECOR'] = 'Windows Server Datacenter: Azure Edition - بدون الواجهة الرسومية';
|
$s['edition_SERVERTURBINECOR'] = 'Windows Server Datacenter: Azure Edition - بدون الواجهة الرسومية';
|
||||||
$s['edition_SERVERTURBINECORE'] = 'Windows Server Datacenter: Azure Edition - بدون الواجهة الرسومية';
|
|
||||||
$s['edition_SERVERSTANDARDACOR'] = 'Windows Server Standard - القناة نصف السنوية';
|
$s['edition_SERVERSTANDARDACOR'] = 'Windows Server Standard - القناة نصف السنوية';
|
||||||
$s['edition_SERVERDATACENTERACOR'] = 'Windows Server Datacenter - القناة نصف السنوية';
|
$s['edition_SERVERDATACENTERACOR'] = 'Windows Server Datacenter - القناة نصف السنوية';
|
||||||
|
@ -343,6 +343,5 @@ $s['edition_SERVERSTANDARD'] = 'Windows Server Standard';
|
|||||||
$s['edition_SERVERSTANDARDCORE'] = 'Windows Server Standard (Core)';
|
$s['edition_SERVERSTANDARDCORE'] = 'Windows Server Standard (Core)';
|
||||||
$s['edition_SERVERTURBINE'] = 'Windows Server Datacenter: Azure Edition';
|
$s['edition_SERVERTURBINE'] = 'Windows Server Datacenter: Azure Edition';
|
||||||
$s['edition_SERVERTURBINECOR'] = 'Windows Server Datacenter: Azure Edition (Core)';
|
$s['edition_SERVERTURBINECOR'] = 'Windows Server Datacenter: Azure Edition (Core)';
|
||||||
$s['edition_SERVERTURBINECORE'] = 'Windows Server Datacenter: Azure Edition (Core)';
|
|
||||||
$s['edition_SERVERSTANDARDACOR'] = 'Windows Server Standard (Semi-Annual Channel)';
|
$s['edition_SERVERSTANDARDACOR'] = 'Windows Server Standard (Semi-Annual Channel)';
|
||||||
$s['edition_SERVERDATACENTERACOR'] = 'Windows Server Datacenter (Semi-Annual Channel)';
|
$s['edition_SERVERDATACENTERACOR'] = 'Windows Server Datacenter (Semi-Annual Channel)';
|
||||||
|
@ -19,7 +19,6 @@ $s['uupdumpSub'] = '%s - UUP dump'; //Browse known builds - UUP dump
|
|||||||
$s['build'] = 'Build';
|
$s['build'] = 'Build';
|
||||||
$s['arch'] = 'Architecture';
|
$s['arch'] = 'Architecture';
|
||||||
$s['ring'] = 'Channel';
|
$s['ring'] = 'Channel';
|
||||||
$s['branch'] = 'Branch';
|
|
||||||
$s['updateid'] = 'Update ID';
|
$s['updateid'] = 'Update ID';
|
||||||
$s['update'] = 'Update';
|
$s['update'] = 'Update';
|
||||||
$s['lang'] = 'Language';
|
$s['lang'] = 'Language';
|
||||||
@ -83,8 +82,6 @@ $s['addNewBuild'] = 'Add a new build';
|
|||||||
$s['newBuildNextText'] = 'Click the <i>Next</i> button to start searching with the specified options.';
|
$s['newBuildNextText'] = 'Click the <i>Next</i> button to start searching with the specified options.';
|
||||||
$s['optionsNotice'] = 'Options notice';
|
$s['optionsNotice'] = 'Options notice';
|
||||||
$s['optionsNoticeText'] = 'Options found here configure how the underlying Windows Update client reports itself to the Microsoft servers. It is crucial to set these properly, otherwise you will receive an error.';
|
$s['optionsNoticeText'] = 'Options found here configure how the underlying Windows Update client reports itself to the Microsoft servers. It is crucial to set these properly, otherwise you will receive an error.';
|
||||||
$s['autoSelect'] = 'Automatic selection';
|
|
||||||
$s['thisOnly'] = 'Return the specified build only';
|
|
||||||
|
|
||||||
//known.php
|
//known.php
|
||||||
$s['browseKnown'] = 'Browse known builds';
|
$s['browseKnown'] = 'Browse known builds';
|
||||||
@ -324,6 +321,5 @@ $s['edition_SERVERSTANDARD'] = 'Windows Server Standard';
|
|||||||
$s['edition_SERVERSTANDARDCORE'] = 'Windows Server Standard (Core)';
|
$s['edition_SERVERSTANDARDCORE'] = 'Windows Server Standard (Core)';
|
||||||
$s['edition_SERVERTURBINE'] = 'Windows Server Datacenter: Azure Edition';
|
$s['edition_SERVERTURBINE'] = 'Windows Server Datacenter: Azure Edition';
|
||||||
$s['edition_SERVERTURBINECOR'] = 'Windows Server Datacenter: Azure Edition (Core)';
|
$s['edition_SERVERTURBINECOR'] = 'Windows Server Datacenter: Azure Edition (Core)';
|
||||||
$s['edition_SERVERTURBINECORE'] = 'Windows Server Datacenter: Azure Edition (Core)';
|
|
||||||
$s['edition_SERVERSTANDARDACOR'] = 'Windows Server Standard (Semi-Annual Channel)';
|
$s['edition_SERVERSTANDARDACOR'] = 'Windows Server Standard (Semi-Annual Channel)';
|
||||||
$s['edition_SERVERDATACENTERACOR'] = 'Windows Server Datacenter (Semi-Annual Channel)';
|
$s['edition_SERVERDATACENTERACOR'] = 'Windows Server Datacenter (Semi-Annual Channel)';
|
||||||
|
@ -321,6 +321,5 @@ $s['edition_SERVERSTANDARD'] = 'Windows Server Standard';
|
|||||||
$s['edition_SERVERSTANDARDCORE'] = 'Windows Server Standard (Core)';
|
$s['edition_SERVERSTANDARDCORE'] = 'Windows Server Standard (Core)';
|
||||||
$s['edition_SERVERTURBINE'] = 'Windows Server Datacenter: Azure Edition';
|
$s['edition_SERVERTURBINE'] = 'Windows Server Datacenter: Azure Edition';
|
||||||
$s['edition_SERVERTURBINECOR'] = 'Windows Server Datacenter: Azure Edition (Core)';
|
$s['edition_SERVERTURBINECOR'] = 'Windows Server Datacenter: Azure Edition (Core)';
|
||||||
$s['edition_SERVERTURBINECORE'] = 'Windows Server Datacenter: Azure Edition (Core)';
|
|
||||||
$s['edition_SERVERSTANDARDACOR'] = 'Windows Server Standard (Semi-Annual Channel)';
|
$s['edition_SERVERSTANDARDACOR'] = 'Windows Server Standard (Semi-Annual Channel)';
|
||||||
$s['edition_SERVERDATACENTERACOR'] = 'Windows Server Datacenter (Semi-Annual Channel)';
|
$s['edition_SERVERDATACENTERACOR'] = 'Windows Server Datacenter (Semi-Annual Channel)';
|
||||||
|
@ -19,7 +19,6 @@ $s['uupdumpSub'] = '%s - UUP dump'; //Browse known builds - UUP dump
|
|||||||
$s['build'] = 'Kompilacja';
|
$s['build'] = 'Kompilacja';
|
||||||
$s['arch'] = 'Architektura';
|
$s['arch'] = 'Architektura';
|
||||||
$s['ring'] = 'Kanał';
|
$s['ring'] = 'Kanał';
|
||||||
$s['branch'] = 'Gałąź';
|
|
||||||
$s['updateid'] = 'Identyfikator aktualizacji';
|
$s['updateid'] = 'Identyfikator aktualizacji';
|
||||||
$s['update'] = 'Aktualizacja';
|
$s['update'] = 'Aktualizacja';
|
||||||
$s['lang'] = 'Język';
|
$s['lang'] = 'Język';
|
||||||
@ -83,8 +82,6 @@ $s['addNewBuild'] = 'Dodaj nową kompilację';
|
|||||||
$s['newBuildNextText'] = 'Kliknij przycisk <i>Dalej</i>, aby rozpocząć wyszukiwanie przy użyciu wybranych opcji.';
|
$s['newBuildNextText'] = 'Kliknij przycisk <i>Dalej</i>, aby rozpocząć wyszukiwanie przy użyciu wybranych opcji.';
|
||||||
$s['optionsNotice'] = 'Uwaga dotycząca opcji';
|
$s['optionsNotice'] = 'Uwaga dotycząca opcji';
|
||||||
$s['optionsNoticeText'] = 'Opcje dostępne tutaj konfigurują sposób w jaki klient usługi Windows Update raportuje się serwerom firmy Microsoft. Ważne jest, aby ustawić je prawidłowo, w przeciwnym wypadku otrzymany zostanie błąd.';
|
$s['optionsNoticeText'] = 'Opcje dostępne tutaj konfigurują sposób w jaki klient usługi Windows Update raportuje się serwerom firmy Microsoft. Ważne jest, aby ustawić je prawidłowo, w przeciwnym wypadku otrzymany zostanie błąd.';
|
||||||
$s['autoSelect'] = 'Wybór automatyczny';
|
|
||||||
$s['thisOnly'] = 'Zwróć wyłącznie podaną kompilację';
|
|
||||||
|
|
||||||
//known.php
|
//known.php
|
||||||
$s['browseKnown'] = 'Przeglądaj znane kompilacje';
|
$s['browseKnown'] = 'Przeglądaj znane kompilacje';
|
||||||
@ -324,6 +321,5 @@ $s['edition_SERVERSTANDARD'] = 'Windows Server Standard';
|
|||||||
$s['edition_SERVERSTANDARDCORE'] = 'Windows Server Standard (Core)';
|
$s['edition_SERVERSTANDARDCORE'] = 'Windows Server Standard (Core)';
|
||||||
$s['edition_SERVERTURBINE'] = 'Windows Server Datacenter: Azure Edition';
|
$s['edition_SERVERTURBINE'] = 'Windows Server Datacenter: Azure Edition';
|
||||||
$s['edition_SERVERTURBINECOR'] = 'Windows Server Datacenter: Azure Edition (Core)';
|
$s['edition_SERVERTURBINECOR'] = 'Windows Server Datacenter: Azure Edition (Core)';
|
||||||
$s['edition_SERVERTURBINECORE'] = 'Windows Server Datacenter: Azure Edition (Core)';
|
|
||||||
$s['edition_SERVERSTANDARDACOR'] = 'Windows Server Standard (Semi-Annual Channel)';
|
$s['edition_SERVERSTANDARDACOR'] = 'Windows Server Standard (Semi-Annual Channel)';
|
||||||
$s['edition_SERVERDATACENTERACOR'] = 'Windows Server Datacenter (Semi-Annual Channel)';
|
$s['edition_SERVERDATACENTERACOR'] = 'Windows Server Datacenter (Semi-Annual Channel)';
|
||||||
|
@ -184,7 +184,7 @@ $s['fileRenamingScriptDescFindFiles'] = '如果你要对从此页面下载的文
|
|||||||
$s['fileRenamingScriptGenW'] = '生成重命名脚本(Windows)';
|
$s['fileRenamingScriptGenW'] = '生成重命名脚本(Windows)';
|
||||||
$s['fileRenamingScriptGenL'] = '生成重命名脚本(Linux、macOS)';
|
$s['fileRenamingScriptGenL'] = '生成重命名脚本(Linux、macOS)';
|
||||||
$s['searchForFiles'] = '搜索文件……';
|
$s['searchForFiles'] = '搜索文件……';
|
||||||
$s['weFoundFiles'] = '根据你的查询,已找到 <b>%d</b> 个文件。'; //<b>692</b> files were found for your query.
|
$s['weFoundFiles'] = '根据在你的查询,已找到 <b>%d</b> 个文件。'; //<b>692</b> files were found for your query.
|
||||||
$s['sizeOfShownFiles'] = '显示文件大小:%s'; //Size of shown files: 2.86 GiB
|
$s['sizeOfShownFiles'] = '显示文件大小:%s'; //Size of shown files: 2.86 GiB
|
||||||
|
|
||||||
//Error pages
|
//Error pages
|
||||||
@ -321,6 +321,5 @@ $s['edition_SERVERSTANDARD'] = 'Windows Server Standard';
|
|||||||
$s['edition_SERVERSTANDARDCORE'] = 'Windows Server Standard(Core)';
|
$s['edition_SERVERSTANDARDCORE'] = 'Windows Server Standard(Core)';
|
||||||
$s['edition_SERVERTURBINE'] = 'Windows Server Datacenter:Azure Edition';
|
$s['edition_SERVERTURBINE'] = 'Windows Server Datacenter:Azure Edition';
|
||||||
$s['edition_SERVERTURBINECOR'] = 'Windows Server Datacenter:Azure Edition(Core)';
|
$s['edition_SERVERTURBINECOR'] = 'Windows Server Datacenter:Azure Edition(Core)';
|
||||||
$s['edition_SERVERTURBINECORE'] = 'Windows Server Datacenter:Azure Edition(Core)';
|
|
||||||
$s['edition_SERVERSTANDARDACOR'] = 'Windows Server Standard(半年频道)';
|
$s['edition_SERVERSTANDARDACOR'] = 'Windows Server Standard(半年频道)';
|
||||||
$s['edition_SERVERDATACENTERACOR'] = 'Windows Server Datacenter(半年频道)';
|
$s['edition_SERVERDATACENTERACOR'] = 'Windows Server Datacenter(半年频道)';
|
||||||
|
Loading…
Reference in New Issue
Block a user