Initial commit

This commit is contained in:
Kaenbyou Rin 2023-10-20 16:49:52 +02:00
commit 145414d218
25 changed files with 6124 additions and 0 deletions

202
LICENSE Normal file
View File

@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

236
autodl.php Normal file
View File

@ -0,0 +1,236 @@
<?php
/*
Copyright 2022 eraseyourknees
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
require_once 'api/get.php';
require_once 'shared/utils.php';
require_once 'shared/get.php';
class AutoDlConfig {
private $files;
private $sku;
private $build;
private $buildNum;
private $arch;
private $title;
private $lang;
private $edition;
private $archiveName;
private $url;
private $appUrl;
public function __construct(
private $autoDl,
private $updateId,
private $usePack,
private $desiredEdition,
private $desiredEditionMixed,
private $desiredVE
) {
$this->setOfflineFilesOrDie();
$this->setUpdateInfo();
$this->setArchiveNames();
$this->setUrlsForPacks();
}
private function setOfflineFilesOrDie() {
$files = uupGetFiles(
$this->updateId,
$this->usePack,
$this->desiredEditionMixed,
2
);
if(isset($files['error'])) {
fancyError($files['error'], 'downloads');
die();
}
$this->files = $files;
}
private function setUpdateInfo() {
$info = uupUpdateInfo($this->updateId, ignoreFiles: true);
$info = @$info['info'];
$this->sku = isset($info['sku']) ? $info['sku'] : 48;
$this->build = isset($info['build']) ? $info['build'] : 'UNKNOWN';
$this->arch = isset($info['arch']) ? $info['arch'] : 'UNKNOWN';
$this->title = isset($info['title']) ? $info['title'] : 'UNKNOWN';
$this->buildNum = uupApiBuildMajor($this->build);
}
private function setArchiveNames() {
$usePack = $this->usePack;
$desiredEditionMixed = $this->desiredEditionMixed;
$build = $this->build;
$arch = $this->arch;
$lang = $usePack ? $usePack : 'all';
if(is_array($desiredEditionMixed)) {
$edition = count($desiredEditionMixed) == 1 ? strtolower($desiredEditionMixed[0]) : 'multi';
} else {
$edition = $desiredEditionMixed ? strtolower($desiredEditionMixed) : 'all';
}
if($edition == 'multi') {
foreach($desiredEditionMixed as $val) {
if(strtolower($val) == 'app' || strtolower($val) == 'app_moment') $edition = 'app';
}
}
$id = substr($this->updateId, 0, 8);
$this->archiveName = $edition == 'updateonly' ? "{$build}_{$arch}_updates_{$id}" : "{$build}_{$arch}_{$lang}_{$edition}_{$id}";
$this->lang = $lang;
$this->edition = $edition;
}
private function skipApps() {
$desiredEditionMixed = $this->desiredEditionMixed;
$appSkip = false;
if(is_array($desiredEditionMixed)) {
foreach($desiredEditionMixed as $val) {
$edition = strtolower($val);
if($edition == 'updateonly' || $edition == 'app' || $edition == 'app_moment') $appSkip = true;
}
} else {
$edition = $desiredEditionMixed ? strtolower($desiredEditionMixed) : 'all';
if($edition == 'updateonly' || $edition == 'app' || $edition == 'app_moment') $appSkip = true;
}
return $appSkip;
}
private function supportsApps() {
$isBlocked = isUpdateBlocked($this->buildNum, $this->title);
if($this->buildNum <= 22557 || $isBlocked || $this->skipApps())
return false;
$genPack = uupGetGenPacks($this->buildNum, $this->arch, $this->updateId);
if(empty($genPack) || !isset($genPack['neutral']))
return false;
$isAPP = false;
foreach(array_keys($genPack['neutral']) as $edition) {
if($edition == 'APP') $isAPP = true;
}
return $isAPP;
}
private function setUrlsForPacks() {
$updateId = $this->updateId;
$usePack = $this->usePack;
$desiredEdition = $this->desiredEdition;
if(isset($_SERVER['HTTPS'])) {
$url = 'https://';
} else {
$url = 'http://';
}
$url .= $_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];
$app = $url;
$url .= '?id='.$updateId.'&pack='.$usePack.'&edition='.$desiredEdition.'&aria2=2';
$app .= '?id='.$updateId.'&pack=neutral&edition=app&aria2=2';
$this->url = $url;
$supportsApps = $this->supportsApps();
$this->appUrl = $supportsApps ? $app : null;
}
private function getMoreOptionsFromPost() {
if(!isset($_GET['autodl'])) {
$updates = isset($_POST['updates']) ? $_POST['updates'] : 0;
} else {
$updates = 1;
}
$cleanup = isset($_POST['cleanup']) ? $_POST['cleanup'] : 0;
$netfx = isset($_POST['netfx']) ? $_POST['netfx'] : 0;
$esd = isset($_POST['esd']) ? $_POST['esd'] : 0;
$moreOptions = [];
$moreOptions['updates'] = $updates;
$moreOptions['cleanup'] = $cleanup;
$moreOptions['netfx'] = $netfx;
$moreOptions['esd'] = $esd;
return $moreOptions;
}
private function isVeAvailable() {
$supportsVE = areVirtualEditonsSupported($this->buildNum, $this->sku);
$isApps = ($this->edition == 'app' || $this->edition == 'app_moment');
return $supportsVE && !$isApps;
}
private function verifyVeAndDieOnError() {
if(!$this->isVeAvailable()) {
fancyError('VE_UNAVAILABLE', 'downloads');
die();
} else if (count($this->desiredVE) == 0) {
fancyError('UNSPECIFIED_VE', 'downloads');
die();
}
}
private function createDownloadOnlyPackage() {
$url = $this->url;
$name = $this->archiveName;
$app = $this->appUrl;
createAria2Package($url, $name, $app);
}
private function createConversionPackage($isVe) {
$url = $this->url;
$name = $this->archiveName;
$ve = $this->desiredVE;
$opt = $this->getMoreOptionsFromPost();
$app = $this->appUrl;
if($isVe) {
$this->verifyVeAndDieOnError();
}
createUupConvertPackage($url, $name, $isVe, $ve, $opt, $app);
}
public function createPackage() {
$isConversion = $this->autoDl > 1;
$isVe = $this->autoDl == 3 ? 1 : 0;
if(!$isConversion) {
$this->createDownloadOnlyPackage();
} else {
$this->createConversionPackage($isVe);
}
}
}

View File

@ -0,0 +1,7 @@
https://git.uupdump.net/uup-dump/converter/raw/commit/7b507c6c99afcf4cff59adcdf51cdb75159bd548/convert.sh
out=convert.sh
checksum=sha-256=689ba88620ae9e49d370341422ece227fd3f08014a0b6f3e302e9528648ff4ab
https://git.uupdump.net/uup-dump/converter/raw/commit/7b507c6c99afcf4cff59adcdf51cdb75159bd548/convert_ve_plugin
out=convert_ve_plugin
checksum=sha-256=02db2f5f2caf742daa6aeaa189d9af27775e8457db48fadd8d71bb1be5982eae

View File

@ -0,0 +1,91 @@
<#
This was made because I refuse to continue taking part in the unwritten
PowerShell/Batch obfuscation contest.
#>
param (
[Parameter()]
[Switch]$ForDownload
)
<#
There are myths that some Windows versions do not work without this.
Since I can't be arsed to verify this, I'm just adding this to lower the number
of reports to which I would normally respond with "works on my machine".
#>
try {
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
} catch {
Write-Error "Abandonware operating systems are not supported."
Exit 1
}
$filesDownload = @('aria2c.exe')
$filesConvert = @('aria2c.exe', '7zr.exe', 'uup-converter-wimlib.7z')
$urls = @{
'aria2c.exe' = 'https://git.uupdump.net/uup-dump/containment-zone/raw/commit/5732ce376d74b98da25634a4439e36ead38d48f8/aria2c.exe';
'7zr.exe' = 'https://git.uupdump.net/uup-dump/containment-zone/raw/commit/5732ce376d74b98da25634a4439e36ead38d48f8/7zr.exe';
'uup-converter-wimlib.7z' = 'https://git.uupdump.net/uup-dump/containment-zone/raw/commit/5732ce376d74b98da25634a4439e36ead38d48f8/uup-converter-wimlib.7z';
}
$hashes = @{
'aria2c.exe' = '0ae98794b3523634b0af362d6f8c04a9bbd32aeda959b72ca0e7fc24e84d2a66';
'7zr.exe' = '108ab5f1e36f2068e368fe97cd763c639e403cac8f511c6681eaf19fc585d814';
'uup-converter-wimlib.7z' = '0a62714d93320bab24d75e7761c01c519e86dc7f815a99125bd4829c71a63c6d';
}
function Retrieve-File {
param (
[String]$File,
[String]$Url
)
Write-Host -BackgroundColor Black -ForegroundColor Yellow "Downloading ${File}..."
Invoke-WebRequest -UseBasicParsing -Uri $Url -OutFile "files\$File" -ErrorAction Stop
}
function Test-Hash {
param (
[String]$File,
[String]$Hash
)
Write-Host -BackgroundColor Black -ForegroundColor Cyan "Verifying ${File}..."
$fileHash = (Get-FileHash -Path "files\$File" -Algorithm SHA256 -ErrorAction Stop).Hash
return ($fileHash.ToLower() -eq $Hash)
}
if($ForDownload.IsPresent) {
$files = $filesDownload
} else {
$files = $filesConvert
}
if(-not (Test-Path -PathType Container -Path "files")) {
$null = New-Item -Path "files" -ItemType Directory
}
foreach($file in $files) {
try {
Retrieve-File -File $file -Url $urls[$file]
} catch {
Write-Host "Failed to download $file"
Write-Host $_
Exit 1
}
}
Write-Host ""
foreach($file in $files) {
if(-not (Test-Hash -File $file -Hash $hashes[$file])) {
Write-Error "$file appears to be tampered with"
Exit 1
}
}
Write-Host ""
Write-Host -BackgroundColor Black -ForegroundColor Green "It appears all the dependencies are ready."

View File

@ -0,0 +1,34 @@
Multiplatform UUP converter requirements
========================================
The script requires the following applications:
* cabextract - to extract cabs
* wimlib-imagex - to export files from metadata ESD
* chntpw - to modify registry of first index of boot.wim
* genisoimage or mkisofs - to create ISO image
Linux
-----
If you use Debian or Ubuntu based distribution you can install these using
the following command:
```bash
sudo apt-get install cabextract wimtools chntpw genisoimage
```
If you use Arch Linux you can also install these using the following command:
```bash
sudo pacman -S cabextract wimlib chntpw cdrtools
```
If you use any other distribution, you'll need to check its repository for the
appropriate packages.
macOS
-----
macOS requires [Homebrew](https://brew.sh) to install the prerequisite software.
After Homebrew was installed, you can install the requirements using:
```bash
brew tap sidneys/homebrew
brew install cabextract wimlib cdrtools sidneys/homebrew/chntpw
```

551
get.php Normal file
View File

@ -0,0 +1,551 @@
<?php
/*
Copyright 2019 whatever127
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
function sortBySize($a, $b) {
global $files;
if ($files[$a]['size'] == $files[$b]['size']) {
return 0;
}
return ($files[$a]['size'] < $files[$b]['size']) ? -1 : 1;
}
//Create aria2 download package with conversion script
function createUupConvertPackage(
$url,
$archiveName,
$virtualEditions = 0,
$desiredVE = array('Enterprise'),
$moreOptions = [],
$app = null
) {
$updates = isset($moreOptions['updates']) ? $moreOptions['updates'] : 0;
$cleanup = isset($moreOptions['cleanup']) ? $moreOptions['cleanup'] : 0;
$netfx = isset($moreOptions['netfx']) ? $moreOptions['netfx'] : 0;
$esd = isset($moreOptions['esd']) ? $moreOptions['esd'] : 0;
$type = $esd ? 'esd' : 'wim';
$currDir = dirname(__FILE__).'/..';
$time = gmdate("Y-m-d H:i:s T", time());
$downloadapp = "";
if(!empty($app)) {
$downloadapp = <<<TEXT
:DOWNLOAD_APPS
echo Retrieving aria2 script for Apps...
"%aria2%" --no-conf --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
for /F "tokens=2 delims=:" %%i in ('findstr #UUPDUMP_ERROR: "%aria2Script%"') do set DETECTED_ERROR=%%i
if NOT [%DETECTED_ERROR%] == [] (
echo Unable to retrieve data from Windows Update servers. Reason: %DETECTED_ERROR%
echo If this problem persists, most likely the set you are attempting to download was removed from Windows Update servers.
echo.
pause
goto :EOF
)
echo Attempting to download Apps files...
"%aria2%" --no-conf --log-level=info --log="aria2_download.log" -x16 -s16 -j25 -c -R -d"%destDir%" -i"%aria2Script%"
if %ERRORLEVEL% GTR 0 goto :DOWNLOAD_APPS
TEXT;
}
$cmdScript = <<<SCRIPT
@echo off
rem Generated on $time
:: Proxy configuration
:: If you need to configure a proxy to be able to connect to the internet,
:: then you can do this by configuring the all_proxy environment variable.
:: By default this variable is commented out, configuring aria2c to use
:: the proxy settings specified by the system.
::
:: Usage: set "all_proxy=proxy_address"
:: For example: set "all_proxy=127.0.0.1:8888"
::
:: More information how to use this can be found at:
:: https://aria2.github.io/manual/en/html/aria2c.html#cmdoption-all-proxy
:: https://aria2.github.io/manual/en/html/aria2c.html#environment
:: Uncomment the following line to override the proxy settings specified
:: by the system.
::
:: set "all_proxy="
:: End of proxy configuration
cd /d "%~dp0"
if NOT "%cd%"=="%cd: =%" (
echo Current directory contains spaces in its path.
echo Please move or rename the directory to one not containing spaces.
echo.
pause
goto :EOF
)
if "[%1]" == "[49127c4b-02dc-482e-ac4f-ec4d659b7547]" goto :START_PROCESS
REG QUERY HKU\S-1-5-19\Environment >NUL 2>&1 && goto :START_PROCESS
set command="""%~f0""" 49127c4b-02dc-482e-ac4f-ec4d659b7547
SETLOCAL ENABLEDELAYEDEXPANSION
set "command=!command:'=''!"
powershell -NoProfile Start-Process -FilePath '%COMSPEC%' ^
-ArgumentList '/c """!command!"""' -Verb RunAs 2>NUL
IF %ERRORLEVEL% GTR 0 (
echo =====================================================
echo This script needs to be executed as an administrator.
echo =====================================================
echo.
pause
)
SETLOCAL DISABLEDELAYEDEXPANSION
goto :EOF
:START_PROCESS
set "aria2=files\\aria2c.exe"
set "a7z=files\\7zr.exe"
set "uupConv=files\\uup-converter-wimlib.7z"
set "aria2Script=files\\aria2_script.%random%.txt"
set "destDir=UUPs"
powershell -NoProfile -ExecutionPolicy Unrestricted .\\files\\depends_win.ps1 || (pause & exit /b 1)
echo.
if NOT EXIST ConvertConfig.ini goto :NO_FILE_ERROR
if NOT EXIST %a7z% goto :NO_FILE_ERROR
if NOT EXIST %uupConv% goto :NO_FILE_ERROR
echo Extracting UUP converter...
"%a7z%" -x!ConvertConfig.ini -y x "%uupConv%" >NUL
echo.
$downloadapp
:DOWNLOAD_UUPS
echo Retrieving aria2 script...
"%aria2%" --no-conf --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
echo.
for /F "tokens=2 delims=:" %%i in ('findstr #UUPDUMP_ERROR: "%aria2Script%"') do set DETECTED_ERROR=%%i
if NOT [%DETECTED_ERROR%] == [] (
echo Unable to retrieve data from Windows Update servers. Reason: %DETECTED_ERROR%
echo If this problem persists, most likely the set you are attempting to download was removed from Windows Update servers.
echo.
pause
goto :EOF
)
echo Attempting to download files...
"%aria2%" --no-conf --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 EXIST convert-UUP.cmd goto :START_CONVERT
pause
goto :EOF
:START_CONVERT
call convert-UUP.cmd
goto :EOF
:NO_FILE_ERROR
echo We couldn't find one of needed files for this script.
pause
goto :EOF
:DOWNLOAD_ERROR
echo.
echo We have encountered an error while downloading files.
pause
goto :EOF
:EOF
SCRIPT;
$shellScript = <<<SCRIPT
#!/bin/bash
#Generated on $time
# Proxy configuration
# If you need to configure a proxy to be able to connect to the internet,
# then you can do this by configuring the all_proxy environment variable.
# By default this variable is empty, configuring aria2c to not use any proxy.
#
# Usage: export all_proxy="proxy_address"
# For example: export all_proxy="127.0.0.1:8888"
#
# More information how to use this can be found at:
# https://aria2.github.io/manual/en/html/aria2c.html#cmdoption-all-proxy
# https://aria2.github.io/manual/en/html/aria2c.html#environment
export all_proxy=""
# End of proxy configuration
for prog in aria2c cabextract wimlib-imagex chntpw; do
which \$prog &>/dev/null 2>&1 && continue;
echo "\$prog does not seem to be installed"
echo "Check the readme.unix.md for details"
exit 1
done
mkiso_present=0
which genisoimage &>/dev/null && mkiso_present=1
which mkisofs &>/dev/null && mkiso_present=1
if [ \$mkiso_present -eq 0 ]; then
echo "genisoimage nor mkisofs does seem to be installed"
echo "Check the readme.unix.md for details"
exit 1
fi
destDir="UUPs"
tempScript="aria2_script.\$RANDOM.txt"
echo "Downloading converters..."
aria2c --no-conf --log-level=info --log="aria2_download.log" -x16 -s16 -j5 --allow-overwrite=true --auto-file-renaming=false -d"files" -i"files/converter_multi"
if [ $? != 0 ]; then
echo "We have encountered an error while downloading files."
exit 1
fi
echo ""
echo "Retrieving aria2 script..."
aria2c --no-conf --log-level=info --log="aria2_download.log" -o"\$tempScript" --allow-overwrite=true --auto-file-renaming=false "$url"
if [ $? != 0 ]; then
echo "Failed to retrieve aria2 script"
exit 1
fi
detectedError=`grep '#UUPDUMP_ERROR:' "\$tempScript" | sed 's/#UUPDUMP_ERROR://g'`
if [ ! -z \$detectedError ]; then
echo "Unable to retrieve data from Windows Update servers. Reason: \$detectedError"
echo "If this problem persists, most likely the set you are attempting to download was removed from Windows Update servers."
exit 1
fi
echo ""
echo "Attempting to download files..."
aria2c --no-conf --log-level=info --log="aria2_download.log" -x16 -s16 -j5 -c -R -d"\$destDir" -i"\$tempScript"
if [ $? != 0 ]; then
echo "We have encountered an error while downloading files."
exit 1
fi
echo ""
if [ -e ./files/convert.sh ]; then
chmod +x ./files/convert.sh
./files/convert.sh $type "\$destDir" $virtualEditions
fi
SCRIPT;
$desiredVirtualEditions = '';
$desiredVirtualEditionsLinux = '';
$index = 0;
foreach($desiredVE as $edition) {
if($index > 0) {
$desiredVirtualEditions .= ',';
$desiredVirtualEditionsLinux .= ' ';
}
$desiredVirtualEditions .= $edition;
$desiredVirtualEditionsLinux .= $edition;
$index++;
}
$convertConfig = <<<CONFIG
[convert-UUP]
AutoStart =1
AddUpdates =$updates
Cleanup =$cleanup
ResetBase =0
NetFx3 =$netfx
StartVirtual =$virtualEditions
wim2esd =$esd
wim2swm =0
SkipISO =0
SkipWinRE =0
LCUwinre =0
UpdtBootFiles=0
ForceDism =0
RefESD =0
SkipEdge =0
AutoExit =0
[Store_Apps]
SkipApps =0
AppsLevel =0
CustomList =0
[create_virtual_editions]
vAutoStart =1
vDeleteSource=0
vPreserve =0
vwim2esd =$esd
vwim2swm =0
vSkipISO =0
vAutoEditions=$desiredVirtualEditions
CONFIG;
$convertConfigLinux = <<<CONFIG
VIRTUAL_EDITIONS_LIST='$desiredVirtualEditionsLinux'
CONFIG;
$cmdScript = str_replace(["\r\n", "\r"], "\n", $cmdScript);
$convertConfig = str_replace(["\r\n", "\r"], "\n", $convertConfig);
$shellScript = str_replace(["\r\n", "\r"], "\n", $shellScript);
$convertConfigLinux = str_replace(["\r\n", "\r"], "\n", $convertConfigLinux);
$cmdScript = str_replace("\n", "\r\n", $cmdScript);
$convertConfig = str_replace("\n", "\r\n", $convertConfig);
$zip = new ZipArchive;
$archive = @tempnam($currDir.'/tmp', 'zip');
$open = $zip->open($archive, ZipArchive::CREATE+ZipArchive::OVERWRITE);
if($open !== TRUE) {
echo 'Failed to create archive.';
die();
}
$zip->addFromString('uup_download_windows.cmd', $cmdScript);
$zip->addFromString('uup_download_linux.sh', $shellScript);
$zip->addFromString('uup_download_macos.sh', $shellScript);
$zip->addFromString('ConvertConfig.ini', $convertConfig);
$zip->addFromString('files/convert_config_linux', $convertConfigLinux);
$zip->addFromString('files/convert_config_macos', $convertConfigLinux);
$zip->addFile($currDir.'/autodl_files/readme.unix.md', 'readme.unix.md');
$zip->addFile($currDir.'/autodl_files/converter_multi', 'files/converter_multi');
$zip->addFile($currDir.'/autodl_files/depends_win.ps1', 'files/depends_win.ps1');
$zip->close();
if($virtualEditions) {
$suffix = '_virtual';
} else {
$suffix = '';
}
header('Content-Type: archive/zip');
header('Content-Disposition: attachment; filename="'.$archiveName."_convert$suffix.zip\"");
header('Content-Length: '.filesize($archive));
$content = file_get_contents($archive);
unlink($archive);
echo $content;
}
//Create aria2 download package only
function createAria2Package($url, $archiveName, $app = null) {
$currDir = dirname(__FILE__).'/..';
$time = gmdate("Y-m-d H:i:s T", time());
$ariacmd = <<<TEXT
"%aria2%" --no-conf --log-level=info --log="aria2_download.log" -x16 -s16 -j5 -c -R -d"%destDir%" -i"%aria2Script%"
TEXT;
$ariabash = <<<TEXT
aria2c --no-conf --log-level=info --log="aria2_download.log" -x16 -s16 -j5 -c -R -d"\$destDir" -i"\$tempScript"
TEXT;
if(strpos($archiveName, "_app")) {
$ariacmd = <<<TEXT
"%aria2%" --no-conf --log-level=info --log="aria2_download.log" -x16 -s16 -j25 -c -R -d"%destDir%" -i"%aria2Script%"
TEXT;
$ariabash = <<<TEXT
aria2c --no-conf --log-level=info --log="aria2_download.log" -x16 -s16 -j25 -c -R -d"\$destDir" -i"\$tempScript"
TEXT;
}
$downloadapp = "";
if(!empty($app)) {
$downloadapp = <<<TEXT
:DOWNLOAD_APPS
echo Retrieving aria2 script for Apps...
"%aria2%" --no-conf --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
for /F "tokens=2 delims=:" %%i in ('findstr #UUPDUMP_ERROR: "%aria2Script%"') do set DETECTED_ERROR=%%i
if NOT [%DETECTED_ERROR%] == [] (
echo Unable to retrieve data from Windows Update servers. Reason: %DETECTED_ERROR%
echo If this problem persists, most likely the set you are attempting to download was removed from Windows Update servers.
echo.
pause
goto :EOF
)
echo Attempting to download Apps files...
"%aria2%" --no-conf --log-level=info --log="aria2_download.log" -x16 -s16 -j25 -c -R -d"%destDir%" -i"%aria2Script%"
if %ERRORLEVEL% GTR 0 goto :DOWNLOAD_APPS
TEXT;
}
$cmdScript = <<<SCRIPT
@echo off
rem Generated on $time
:: Proxy configuration
:: If you need to configure a proxy to be able to connect to the internet,
:: then you can do this by configuring the all_proxy environment variable.
:: By default this variable is empty, configuring aria2c to not use any proxy.
::
:: Usage: set "all_proxy=proxy_address"
:: For example: set "all_proxy=127.0.0.1:8888"
::
:: More information how to use this can be found at:
:: https://aria2.github.io/manual/en/html/aria2c.html#cmdoption-all-proxy
:: https://aria2.github.io/manual/en/html/aria2c.html#environment
set "all_proxy="
:: End of proxy configuration
set "aria2=files\\aria2c.exe"
set "aria2Script=files\\aria2_script.%random%.txt"
set "destDir=UUPs"
cd /d "%~dp0"
powershell -NoProfile -ExecutionPolicy Unrestricted .\\files\\depends_win.ps1 -ForDownload || (pause & exit /b 1)
echo.
$downloadapp
:DOWNLOAD_UUPS
echo Retrieving aria2 script...
"%aria2%" --no-conf --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
for /F "tokens=2 delims=:" %%i in ('findstr #UUPDUMP_ERROR: "%aria2Script%"') do set DETECTED_ERROR=%%i
if NOT [%DETECTED_ERROR%] == [] (
echo Unable to retrieve data from Windows Update servers. Reason: %DETECTED_ERROR%
echo If this problem persists, most likely the set you are attempting to download was removed from Windows Update servers.
echo.
pause
goto :EOF
)
echo Attempting to download files...
$ariacmd
if %ERRORLEVEL% GTR 0 goto :DOWNLOAD_UUPS & exit /b 1
pause
goto EOF
:DOWNLOAD_ERROR
echo.
echo We have encountered an error while downloading files.
pause
goto EOF
:EOF
SCRIPT;
$shellScript = <<<SCRIPT
#!/bin/bash
#Generated on $time
# Proxy configuration
# If you need to configure a proxy to be able to connect to the internet,
# then you can do this by configuring the all_proxy environment variable.
# By default this variable is empty, configuring aria2c to not use any proxy.
#
# Usage: export all_proxy="proxy_address"
# For example: export all_proxy="127.0.0.1:8888"
#
# More information how to use this can be found at:
# https://aria2.github.io/manual/en/html/aria2c.html#cmdoption-all-proxy
# https://aria2.github.io/manual/en/html/aria2c.html#environment
export all_proxy=""
# End of proxy configuration
which aria2c &>/dev/null || {
echo "aria2c does not seem to be installed"
echo "Check the readme.unix.md for details"
exit 1
}
destDir="UUPs"
tempScript="aria2_script.\$RANDOM.txt"
echo "Retrieving aria2 script..."
aria2c --no-conf --log-level=info --log="aria2_download.log" -o"\$tempScript" --allow-overwrite=true --auto-file-renaming=false "$url"
if [ $? != 0 ]; then
echo "Failed to retrieve aria2 script"
exit 1
fi
detectedError=`grep '#UUPDUMP_ERROR:' "\$tempScript" | sed 's/#UUPDUMP_ERROR://g'`
if [ ! -z \$detectedError ]; then
echo "Unable to retrieve data from Windows Update servers. Reason: \$detectedError"
echo "If this problem persists, most likely the set you are attempting to download was removed from Windows Update servers."
exit 1
fi
echo ""
echo "Attempting to download files..."
$ariabash
if [ $? != 0 ]; then
echo "We have encountered an error while downloading files."
exit 1
fi
SCRIPT;
$cmdScript = str_replace(["\r\n", "\r"], "\n", $cmdScript);
$shellScript = str_replace(["\r\n", "\r"], "\n", $shellScript);
$cmdScript = str_replace("\n", "\r\n", $cmdScript);
$zip = new ZipArchive;
$archive = @tempnam($currDir.'/tmp', 'zip');
$open = $zip->open($archive, ZipArchive::CREATE+ZipArchive::OVERWRITE);
if($open === TRUE) {
$zip->addFromString('uup_download_windows.cmd', $cmdScript);
$zip->addFromString('uup_download_linux.sh', $shellScript);
$zip->addFromString('uup_download_macos.sh', $shellScript);
$zip->addFile($currDir.'/autodl_files/readme.unix.md', 'readme.unix.md');
$zip->addFile($currDir.'/autodl_files/depends_win.ps1', 'files/depends_win.ps1');
$zip->close();
} else {
echo 'Failed to create archive.';
die();
}
header('Content-Type: archive/zip');
header('Content-Disposition: attachment; filename="'.$archiveName.'.zip"');
header('Content-Length: '.filesize($archive));
$content = file_get_contents($archive);
unlink($archive);
echo $content;
}

288
langs/ar-sa.php Normal file
View File

@ -0,0 +1,288 @@
<?php
/*
UUP dump translation file.
Translation information:
English language name: Arabic (Saudi Arabia)
Localized language name: العربية
Language code: ar-SA
Author: abbodi1406
*/
//Language information
$s['code'] = 'ar-SA';
$s['timeZone'] = 'UTC'; //Supported timezones: https://www.php.net/manual/en/timezones.php
//shared strings
$s['uupdump'] = 'UUP dump';
$s['uupdumpSub'] = '%s - UUP dump'; //Browse known builds - UUP dump
$s['build'] = 'الإصدار';
$s['arch'] = 'النواة';
$s['ring'] = 'القناة';
$s['updateid'] = 'رمز التعريف';
$s['update'] = 'اسم الإصدار';
$s['lang'] = 'اللغة';
$s['edition'] = 'النسخة';
$s['seachForBuilds'] = '...البحث في الإصدارات';
$s['no'] = 'لا';
$s['yes'] = 'نعم';
$s['yesRecommended'] = 'نعم - مستحسن';
$s['next'] = 'التالي';
$s['ok'] = 'تم';
$s['cancel'] = 'إلغاء';
$s['information'] = 'معلومات';
$s['totalDlSize'] = 'حجم التنزيل الكلي';
$s['file'] = 'الملف';
$s['expires'] = 'انتهاء صلاحية الرابط';
$s['sha1'] = 'SHA-1';
$s['size'] = 'الحجم';
$s['additionalEdition'] = 'النسخة الإضافية';
$s['requiredEdition'] = 'النسخة المطلوبة';
$s['unknown'] = 'غير معروف';
//global
$s['home'] = 'الصفحة الرئيسية';
$s['downloads'] = 'التنزيلات';
$s['lightMode'] = 'مظهر فاتح';
$s['darkMode'] = 'مظهر داكن';
$s['sourceCode'] = 'Source code';
$s['menu'] = 'القائمة';
$s['websiteDesc'] = 'Windows Update تحميل إصدارات وتحديثات ويندوز بكل سهولة من سيرفرات';
$s['notAffiliated'] = 'This project is not affiliated with Microsoft Corporation. Windows is a registered trademark of Microsoft Corporation.';
$s['copyright'] = '© %d %s and contributors.'; //© 2019 whatever127 and contributors.
$s['copyrightNew'] = '© %d UUP dump authors and contributors.';
$s['selectLanguage'] = 'اختر لغة الموقع';
$s['uupDumpDesc'] = 'Windows Update مثل إصدارات معاينة ويندوز مباشرة من UUP هذا الموقع يتيح تنزيل ملفات منصة التحديث الموحدة';
$s['uupDumpDescSub'] = '%s on UUP dump. Windows Update هذا الموقع يتيح تنزيل ملفات منصة التحديث الموحدة مثل إصدارات معاينة ويندوز مباشرة من'; //Select language for Windows 11 Insider Preview 25188.1000 (rs_prerelease) amd64 on UUP dump. UUP dump lets you download Unified Update Platform files, like Windows Insider updates, directly from Windows Update.
//index.php
$s['slogan'] = 'Windows Update تحميل إصدارات وتحديثات ويندوز بكل سهولة من سيرفرات';
$s['quickOptions'] = 'خيارات سريعة';
$s['tHeadReleaseType'] = 'مستوى الإصدار';
$s['tHeadDescription'] = 'الوصف';
$s['tHeadArchitectures'] = 'النواة المرغوبة';
$s['latestPublicRelease'] = 'Public أحدث إصدار رسمي';
$s['latestPublicReleaseSub'] = 'الإصدارات والتحديثات الرسمية للمستخدم العادي';
$s['latestDevRelease'] = 'Dev أحدث إصدار من قناة';
$s['latestDevReleaseSub'] = 'إصدارات قناة التطوير توفر ميزات حديثة، غير مكتملة أو مستقرة كلياً<br>يناسب المستخدم المتقدم والمطورين';
$s['latestBetaRelease'] = 'Beta أحدث إصدار من قناة';
$s['latestBetaReleaseSub'] = 'إصدارات قناة التجريب تحتوي ميزات جديدة أكثر موثوقية<br>يناسب المستخدم المتحمس';
$s['latestRPRelease'] = 'Preview أحدث إصدار من قناة';
$s['latestRPReleaseSub'] = 'معاينة الإصدارات الرسمية قبل طرحها للعموم مع الميزات المعتمدة';
$s['advOptions'] = 'خيارات متقدمة';
$s['browseBuilds'] = 'تصفح الإصدارات المعروفة';
$s['browseBuildsSub'] = 'تنزيل إصدار موجود مسبقاً في قاعدة البيانات';
$s['fetchLatest'] = 'اكتشاف أحدث الإصدارات';
$s['fetchLatestSub'] = 'Windows Update البحث عن معلومات أحدث الإصدارات من سيرفرات';
$s['newlyAdded'] = 'الإصدارات المضافة حديثاً';
$s['dateAdded'] = 'تاريخ الإضافة';
//known.php
$s['browseKnown'] = 'الإصدارات المعروفة';
$s['chooseBuild'] = 'اختر الإصدار';
$s['weFoundBuilds'] = 'عدد الإصدارات: <b>%d</b>'; //<b>692</b> builds were found for your query.
$s['sortByDate'] = 'ترتيب النتائج حسب تاريخ الإضافة';
//latest.php
$s['latestFetchLatest'] = 'البحث المتقدم';
$s['latestTestingOnly'] = 'لغرض الاختبار فقط';
$s['latestTestingOnlyWarn'] = ' <b>هذه الصفحة مخصصة لغرض البحث والتحقق فقط.</b> أي إصدارات جديدة مكتشفة بهذا الخيار لم تتم معالجتها في قاعدة البيانات قد يوفر نتائج غير مكتملة. إن كنت تريد تحميل إصدار معين فاستعمل صفحة الإصدارات المعروفة';
$s['latestDoYouWantKnown'] = 'هل تريد الإلغاء والذهاب إلى قائمة الإصدارات المعروفة؟';
$s['chooseOptions'] = 'خيارات البحث';
$s['buildOfPretendedClient'] = 'رقم بناء نظام المحاكاة';
$s['editionOfPretendedClient'] = 'نسخة نظام المحاكاة';
$s['skipAheadLabel'] = 'Skip ahead تفعيل فئة';
$s['skipAheadOption'] = '(Insider Fast) متوفرة فقط مع مستوى';
$s['fetchUpdates'] = 'البحث عن تحديثات';
$s['fetchUpdatesInfo'] = 'Windows Update اضغط زر البحث عن تحديثات لإرسال طلبك من خلال سيرفرات';
//fetchupd.php
$s['responseFromServer'] = 'رد السيرفر';
$s['foundUpdates'] = 'عدد التحديثات: %d'; //Found 1 update(s)
$s['foundTheseUpdates'] = 'تم إيجاد التحديثات التالية، اضغط على اسم أي منها للمتابعة';
$s['buildNumber'] = 'رقم الإصدار: %s'; //Build number: 18890.1000
//selectlang.php
$s['selectLangFor'] = 'اختيار اللغة - %s'; //Select language for Windows 10 Insider Preview 18890.1000 (rs_prerelease) amd64
$s['chooseLang'] = 'اختيار اللغة';
$s['chooseLangDesc'] = 'اختر اللغة المرغوبة';
$s['allLangs'] = 'كل اللغات';
$s['selLangFiles'] = 'الملفات';
$s['allFiles'] = 'كل الملفات';
$s['wubOnly'] = 'فقط WindowsUpdateBox';
$s['updateOnly'] = 'التحديثات فقط';
$s['selectLangInfoText1'] = 'اضغط زر التالي لاختيار النسخة التي تود تنزيلها';
$s['selectLangInfoText2'] = 'والتحديثات التراكمية يمكن إيجادها في خيار كل اللغات WindowsUpdateBox.exe';
$s['allLangsWarn'] = 'خيار كل اللغات لا يوفر اختيار النسخة';
$s['clickNextToOpenFindFiles'] = 'اضغط زر التالي لفتح صفحة إيجاد الملفات';
$s['noLangsAvailable'] = 'لا توجد لغات متاحة<br>لا يمكن إنشاء ملف آيزو من هذا الإصدار<br>لمزيد من التفاصيل راجع <a target=_blank href="https://github.com/uup-dump-dev/website-public/blob/master/FAQ.md">الأسئلة الشائعة</a>';
$s['browseFiles'] = 'تصفح الملفات';
$s['browseFilesDesc'] = 'عرض قائمة الملفات للتحميل يدوياً من الإصدار المحدد';
$s['searchFiles'] = 'البحث في الملفات';
$s['toSearchForCUUseQuery'] = '<i>%s</i> لعرض ملفات التحديثات فقط استخدم جملة البحث'; //To search for Cumulative Updates use the <i>Windows10 KB</i> search query.
$s['updateNotProcessed'] = 'لم يتم تجهيز بيانات هذا الإصدار بعد - تتم المعالجة آلياً كل %d دقيقة. يمكنك تصفح وتحميل ملفات الإصدار يدوياً إلى حين ذلك'; //UUP dump hasn't processed this update's metadata yet - this happens automatically once every 30 minutes. You can only browse the update's file list until then.
$s['updateIsBlocked'] = 'هذا الإصدار لا يوفر جميع الملفات اللازمة لإنشاء آيزو متكامل. بالإمكان فقط تصفح وتحميل الملفات أو التحديثات المضمنة يدوياً';
//selectedition.php
$s['selectEditionFor'] = 'اختيار النسخة - %s'; //Select edition for Windows 10 Insider Preview 18890.1000 (rs_prerelease) amd64, English (United States)
$s['chooseEdition'] = 'اختيار النسخة';
$s['chooseEditionDesc'] = 'اختر النسخة المرغوبة';
$s['allEditions'] = 'كل النسخ';
$s['selectEditionInfoText'] = 'اضغط زر التالي لفتح صفحة ملخص اختيارك';
$s['additionalEditionsInfo'] = 'إن كنت تريد النسخ الإضافية الظاهرة على يمين الشاشة، فحدد النسخة المطلوبة بكل منها حسب الجدول واضغط التالي. ثم في صفحة الملخص اضغط خيار إنشاء النسخ الإضافية';
$s['showHiddenEditions'] = 'إظهار النسخ الغير مستحسنة';
//download.php
$s['summary'] = 'الملخص';
$s['summaryDesc'] = 'راجع اختيارك ثم حدد طريقة التنزيل';
$s['summaryFor'] = 'الملخص - %s'; //Summary for Windows 10 Insider Preview 18890.1000 (rs_prerelease) amd64, English (United States), Windows 10 Pro
$s['summaryOfSelection'] = 'ملخص اختيارك';
$s['browseList'] = 'تصفح قائمة الملفات';
$s['browseListDesc'] = 'فتح صفحة قائمة الملفات للتحميل يدوياً';
$s['aria2Opt1'] = 'تنزيل قائمة الملفات';
$s['aria2Opt1Desc'] = 'تحميل ملفات الإصدار المحدد فقط، بدون تحويل';
$s['aria2Opt2'] = 'ISO تنزيل وتحويل الملفات إلى ملف';
$s['aria2Opt2Desc'] = 'ISO تحميل ملفات الإصدار المحدد وتحويلها، ثم صنع ملف';
$s['aria2Opt3'] = 'ISO تنزيل وتحويل الملفات وإنشاء النسخ الإضافية وصنع ملف';
$s['aria2Opt3Desc'] = 'ISO تحميل ملفات الإصدار المحدد وتحويلها، وإنشاء النسخ الإضافية، ثم صنع ملف';
$s['jsRequiredToConf'] = 'برمجة جافا سكريبت مطلوبة لتهيئة وتمكين هذا الخيار';
$s['selAdditionalEditions'] = ':اختر النسخ الإضافية المرغوبة';
$s['noAdditionalEditions'] = 'لا تتوفر نسخ إضافية متاحة حسب النسخ المختارة';
$s['learnMore'] = 'معلومات أكثر';
$s['learnMoreAdditionalEditions1'] = 'هذا الخيار يتيح إنشاء النسخ الإضافية المحددة تلقائياً';
$s['learnMoreAdditionalEditions2'] = ':قائمة النسخ الإضافية المتاحة تعتمد على قائمة النسخ المطلوبة التي تم اختيارها، حسب القائمة أدناه';
$s['learnMoreUpdates1'] = ':سيتم دمج التحديثات فقط إذا تم تشغيل سكريبت التحويل على الأنظمة التالية';
$s['learnMoreUpdates2'] = '.إذا تم تشغيل سكريبت التحويل على أي أنظمة أخرى لن يتم دمج التحديثات';
$s['systemWithAdk'] = '%s - مع حزمة Windows ADK'; //Windows 7 with Windows 10 ADK installed
$s['additionalUpdates'] = 'تحديثات إضافية';
$s['additionalUpdatesDesc'] = 'الإصدار المحدد يحتوي على تحديثات إضافية والتي سيتم دمجها خلال عملية التحويل، مما سيزيد الوقت المطلوب لإنشاء التوزيعة.';
$s['browseUpdatesList'] = 'تصفح قائمة ملفات التحديثات';
$s['selectDownloadOptions'] = 'خيارات التنزيل والتحويل';
$s['selectDownloadOptionsSub'] = 'اختيار كيفية الحصول على الملفات المطلوبة';
$s['downloadMethod'] = 'خيارات التنزيل';
$s['conversionOptions'] = 'خيارات التحويل';
$s['convOpt1'] = 'install.wim بدلاً عن install.esd إنشاء آيزو يحتوي ملف';
$s['convOpt2'] = 'سكريبت ويندوز فقط: دمج التحديثات إن كانت متوفرة';
$s['convOpt3'] = 'سكريبت ويندوز فقط: إزالة المكونات المستبدلة بعد دمج التحديثات';
$s['convOpt4'] = '.NET 3.5 سكريبت ويندوز فقط: دمج وتفعيل ميزة';
$s['startDownload'] = 'تحميل الملف المضغوط';
$s['legalCopeHarder'] = ':الضغط على زر -تحميل الملف المضغوط- يعني الموافقة على البنود التالية';
$s['legalCope1'] = 'الآيزوهات المنشأة باستخدام سكريبتات الموقع مخصصة لغرض الاختبار والتقييم';
$s['legalCope2'] = 'Microsoft Corporation وسائط التثبيت واستخداماتها غير مدعومة بأي شكل من شركة';
$s['legalCope3'] = 'إدارة الموقع غير مسؤولة عن أي أضرار قد تقع، طبقاً لبنود ترخيص العمل';
$s['win1122h2OrLater'] = 'وما بعده Windows 11, version 22H2';
$s['requiresWindows102004'] = 'سكريبت بقية أنظمة التشغيل سينشئ ملف آيزو غير مكتمل ، Windows 10 version 2004 لإنشاء ملف آيزو سليم لهذا الإصدار وما بعده، نظام التشغيل الحالي يجب أن يكون على الأقل';
//get.php
$s['listOfFilesFor'] = 'قائمة الملفات - %s'; //List of files for Windows 10 Insider Preview 18890.1000 (rs_prerelease) amd64
$s['totalSizeOfFiles'] = '%s :الحجم الكلي للملفات'; //Total size of files: 2.86 GiB
$s['fileRenamingScript'] = 'سكريبت إعادة التسمية';
$s['fileRenamingScriptDesc1'] = 'يمكن استعمال السكريبت أدناه لإعادة تسمية الملفات بشكل مناسب بعد تنزيلها';
$s['fileRenamingScriptDesc2'] = 'وضعه في نفس مجلد الملفات المحملة وقم بتشغيله <code>cmd</code> قم بنسخ محتويات الصندوق أدناه واحفظها في ملف بامتداد';
$s['sha1File'] = 'SHA-1 هاش الملفات';
$s['sha1FileDesc'] = 'يمكن استعمال محتويات الملف أدناه للتحقق من صحة الملفات المحملة';
$s['aria2NoticeTitle'] = 'aria2 ملاحظة حول خيارات التنزيل ببرنامج';
$s['aria2NoticeText1'] = 'سيتم إنشاء وتحميل ملف مضغوط يحتوي على كافة الملفات المطلوبة لتنفيذ عملية التنزيل والتحويل';
$s['aria2NoticeText2'] = ':لبدء عملية التنزيل استخرج الملف المضغوط ثم شغل السكريبت المناسب حسب نظامك';
$s['aria2NoticeText3'] = '%s :هو برنامج مفتوح المصدر، يمكنك إيجاده هنا Aria2'; //Aria2 is an open source project. You can find it here: https://aria2.github.io/.
$s['aria2NoticeText4'] = '%s :سكريبت التحويل (نسخة ويندوز) تم إنشاؤه بواسطة'; //UUP Conversion script (Windows version) has been created by abbodi1406.
$s['aria2NoticeText5'] = '%s :سكريبت التحويل (نسخة لينكس , نسخة ماك) مفتوح المصدر، يمكنك إيجاده هنا'; //UUP Conversion script (Linux version, macOS version) is open source. You can find it here: https://github.com/uup-dump/converter.
//findfiles.php
$s['findFilesIn'] = 'تصفح الملفات - %s'; //Find files in Windows 10 Insider Preview 18890.1000 (rs_prerelease) amd64
$s['fileRenamingScriptDescFindFiles'] = 'لإعادة تسمية الملفات بعد التنزيل، يمكنك إنشاء وتحميل سكريبت العملية تلقائياً';
$s['fileRenamingScriptGenW'] = 'إنشاء سكريبت إعادة التسمية - ويندوز';
$s['fileRenamingScriptGenL'] = 'إنشاء إعادة تسمية البرنامج النصي - لينكس ، ماك';
$s['searchForFiles'] = '...البحث في الملفات';
$s['weFoundFiles'] = 'عدد الملفات: <b>%d</b>'; //We have found <b>692</b> files for your query.
$s['faq'] = 'الأسئلة الشائعة';
//Error pages
$s['error'] = 'خطأ';
$s['requestNotSuccessful'] = 'فشل الطلب';
$s['anErrorHasOccurred'] = 'حدث خطأ أثناء محاولة معالجة طلبك';
$s['generatedPackNotAvailable'] = 'الحزم المطلوبة غير متاحة';
$s['generatedPackNotAvailableDesc'] = 'الإصدار الذي تحاول تحميله لا يحتوي على الحزم التي توفر المعلومات حول اللغات والنسخ والملفات المتوفرة. سيتم استخدام الحزم الاحتياطية والتي قد لا توفر المعلومات الصحيحة. إذا فشل التحميل فانتظر حتى تصبح الحزم المطلوبة متاحة تلقائياً';
$s['arm64Warning'] = 'فيمكنك تجاهل هذه الرسالة ARM64 إن كنت متأكد كلياً أنك ترغب بتحميل إصدار لنواة .amd64 لأنظمة 64 بت قم باختيار إصدار نواة .Intel/AMD والذي لن يعمل مع الأجهزة المعتادة ذات معالجات ARM64 لقد اخترت إصدار خاص بالأجهزة';
//Error messages
$s['error_ERROR'] = 'خطأ عام';
$s['error_UNSUPPORTED_API'] = 'Installed API version is not compatible with this version of UUP dump.';
$s['error_NO_FILEINFO_DIR'] = '<i>fileinfo</i> المجلد غير موجود';
$s['error_NO_BUILDS_IN_FILEINFO'] = 'قاعدة بيانات الملفات لا تحتوي أي إصدار';
$s['error_SEARCH_NO_RESULTS'] = 'لم يتم العثور على أي عنصر للبحث المطلوب';
$s['error_UNKNOWN_ARCH'] = 'نواة معالج غير معروفة';
$s['error_UNKNOWN_RING'] = 'مستوى غير معروف';
$s['error_UNKNOWN_FLIGHT'] = 'تصنيف غير معروف';
$s['error_UNKNOWN_COMBINATION'] = 'Insider Fast تكوين مستويات البحث غير صحيح، فئة التخطي متوفرة فقط مع مستوى';
$s['error_ILLEGAL_BUILD'] = '%d أو أكبر من %d رقم البناء المحدد أصغر من'; //Specified build number is less than 9841 or larger than 2147483646.
$s['error_ILLEGAL_MINOR'] = 'رقم البناء الفرعي غير صحيح';
$s['error_NO_UPDATE_FOUND'] = 'لم يتم العثور على أي تحديثات من السيرفر';
$s['error_XML_PARSE_ERROR'] = 'فشل معالجة ملف الرد، ربما هنالك مشكلة في سيرفرات مايكروسوفت. حاول مجدداً في وقت لاحق';
$s['error_EMPTY_FILELIST'] = 'لم يتم العثور على أي ملفات من السيرفر';
$s['error_NO_FILES'] = 'لا توجد ملفات متوفرة حسب اختيارك';
$s['error_NOT_FOUND'] = 'لا يمكن إيجاد الاختيار المحدد';
$s['error_MISSING_FILES'] = 'الإصدار المحدد يحتوي على ملفات ناقصة';
$s['error_NO_METADATA_ESD'] = 'لا تتوفر ملفات نسخ للاختيار المحدد';
$s['error_UNSUPPORTED_LANG'] = 'اللغة المحددة غير مدعومة';
$s['error_UNSPECIFIED_LANG'] = 'لم يتم تحديد لغة';
$s['error_UNSUPPORTED_EDITION'] = 'النسخة المحددة غير مدعومة';
$s['error_UNSUPPORTED_COMBINATION'] = 'تكوين اللغة والنسخة غير صحيح';
$s['error_NOT_CUMULATIVE_UPDATE'] = 'الإصدار المحدد لا يحتوي على تحديث تراكمي';
$s['error_UPDATE_INFORMATION_NOT_EXISTS'] = 'المعلومات حول الإصدار المحدد غير موجودة في قاعدة البيانات';
$s['error_KEY_NOT_EXISTS'] = 'المفتاح المحدد غير موجود في معلومات الإصدار';
$s['error_UNSPECIFIED_UPDATE'] = 'لم يتم تحديد رمز التعريف';
$s['error_INCORRECT_ID'] = 'رمز التعريف المحدد غير صحيح';
$s['error_RATE_LIMITED'] = 'تم تقييد وصولك، أعد المحاولة بعد عدة ثوان';
$s['error_UNSPECIFIED_VE'] = 'ISO لم تقم باختيار أي نسخة إضافية. إن كنت لا تريد إنشاء نسخة إضافية فاضغط خيار تنزيل وتحويل الملفات إلى ملف';
$s['errorNoMessage'] = 'رسالة الخطأ غير متاحة';
//Languages
$s['lang_ar-sa'] = 'العربية';
$s['lang_bg-bg'] = 'البلغارية';
$s['lang_cs-cz'] = 'التشيكية';
$s['lang_da-dk'] = 'الدنماركية';
$s['lang_de-de'] = 'الألمانية';
$s['lang_el-gr'] = 'اليونانية';
$s['lang_en-gb'] = 'الإنجليزية - المملكة المتحدة';
$s['lang_en-us'] = 'الإنجليزية - الولايات المتحدة';
$s['lang_es-es'] = 'الإسبانية - إسبانيا';
$s['lang_es-mx'] = 'الإسبانية - المكسيك';
$s['lang_et-ee'] = 'الإستونية';
$s['lang_fi-fi'] = 'الفنلندية';
$s['lang_fr-ca'] = 'الفرنسية - كندا';
$s['lang_fr-fr'] = 'الفرنسية - فرنسا';
$s['lang_he-il'] = 'العبرية';
$s['lang_hr-hr'] = 'الكرواتية';
$s['lang_hu-hu'] = 'المجرية';
$s['lang_it-it'] = 'الإيطالية';
$s['lang_ja-jp'] = 'اليابانية';
$s['lang_ko-kr'] = 'الكورية';
$s['lang_lt-lt'] = 'الليتوانية';
$s['lang_lv-lv'] = 'اللاتفية';
$s['lang_nb-no'] = 'النرويجية';
$s['lang_nl-nl'] = 'الهولندية';
$s['lang_pl-pl'] = 'البولندية';
$s['lang_pt-br'] = 'البرتغالية - البرازيل';
$s['lang_pt-pt'] = 'البرتغالية - البرتغال';
$s['lang_qps-ploc'] = 'Pseudo';
$s['lang_ro-ro'] = 'الرومانية';
$s['lang_ru-ru'] = 'الروسية';
$s['lang_sk-sk'] = 'السلوفاكية';
$s['lang_sl-si'] = 'السلوفينية';
$s['lang_sr-latn-rs'] = 'الصربية اللاتينية';
$s['lang_sv-se'] = 'السويدية';
$s['lang_th-th'] = 'التايلندية';
$s['lang_tr-tr'] = 'التركية';
$s['lang_uk-ua'] = 'الأوكرانية';
$s['lang_zh-cn'] = 'الصينية المبسطة';
$s['lang_zh-hk'] = 'الصينية - هونغ كونغ';
$s['lang_zh-tw'] = 'الصينية التقليدية';
//Channels
$s['channel_skipAhead'] = 'فئة التخطي';
$s['channel_dev'] = 'Dev التطوير';
$s['channel_beta'] = 'Beta التجريب';
$s['channel_releasepreview'] = 'Preview المعاينة';
$s['channel_retail'] = 'Retail عام';

274
langs/de-de.php Normal file
View File

@ -0,0 +1,274 @@
<?php
/*
UUP dump translation file.
Translation information:
English language name: German
Localized language name: Deutsch
Language code: de-DE
Author: UndertakerBen (https://forums.mydigitallife.net/members/undertakerben.694957/)
*/
//Language information
$s['code'] = 'de-DE';
$s['timeZone'] = 'Europe/Berlin'; //Supported timezones: https://www.php.net/manual/en/timezones.php
//shared strings
$s['uupdump'] = 'UUP dump';
$s['uupdumpSub'] = '%s - UUP dump'; //Browse known builds - UUP dump
$s['build'] = 'Build';
$s['arch'] = 'Architektur';
$s['ring'] = 'Kanal';
$s['updateid'] = 'Update ID';
$s['update'] = 'Update';
$s['lang'] = 'Sprache';
$s['edition'] = 'Edition';
$s['seachForBuilds'] = 'Suche nach Builds...';
$s['no'] = 'Nein';
$s['yes'] = 'Ja';
$s['yesRecommended'] = 'Ja (empfohlen)';
$s['next'] = 'Weiter';
$s['ok'] = 'OK';
$s['cancel'] = 'Abbrechen';
$s['information'] = 'Information';
$s['totalDlSize'] = 'Gesamte Download-Größe';
$s['file'] = 'Datei';
$s['expires'] = 'Verfällt';
$s['sha1'] = 'SHA-1';
$s['size'] = 'Größe';
$s['additionalEdition'] = 'Zusätzliche Edition';
$s['requiredEdition'] = 'Erforderliche Edition';
$s['unknown'] = 'Unbekannt';
//global
$s['home'] = 'Startseite';
$s['downloads'] = 'Downloads';
$s['lightMode'] = 'Heller Modus';
$s['darkMode'] = 'Dunkler Modus';
$s['sourceCode'] = 'Quellcode';
$s['menu'] = 'Menü';
$s['websiteDesc'] = 'Laden Sie UUP-Dateien von Windows Update-Servern mit Leichtigkeit herunter. Dieses Projekt ist nicht mit der Microsoft Corporation verbunden.';
$s['notAffiliated'] = 'Dieses Projekt ist nicht mit der Microsoft Corporation verbunden. Windows ist ein eingetragenes Warenzeichen der Microsoft Corporation.';
$s['copyright'] = '© %d %s und Mitwirkende.'; //© 2019 whatever127 and contributors.
$s['copyrightNew'] = '© %d UUP Dump Autoren und Mitwirkende.';
$s['selectLanguage'] = 'Bitte wählen Sie Ihre Sprache aus';
$s['uupDumpDesc'] = 'Mit dem UUP Dump können Sie Unified Update Plattform-Dateien, wie Windows Insider Updates, direkt von Windows Update herunterladen.';
$s['uupDumpDescSub'] = '%s über UUP-Dump. Mit dem UUP Dump können Sie Unified Update Plattform-Dateien, wie Windows Insider Updates, direkt von Windows Update herunterladen.'; //Select language for Windows 11 Insider Preview 25188.1000 (rs_prerelease) amd64 on UUP dump. UUP dump lets you download Unified Update Platform files, like Windows Insider updates, directly from Windows Update.
//index.php
$s['slogan'] = 'Laden Sie UUP-Dateien von Windows Update-Servern mit Leichtigkeit herunter.';
$s['quickOptions'] = 'Schnelle Optionen';
$s['tHeadReleaseType'] = 'Release-Typen';
$s['tHeadDescription'] = 'Beschreibung';
$s['tHeadArchitectures'] = 'Architekturen';
$s['latestPublicRelease'] = 'Letzter Build der öffentlichen Version';
$s['latestPublicReleaseSub'] = 'Neuester aktualisierter Build für normale Benutzer.';
$s['latestDevRelease'] = 'Neueste Dev Channel-Version';
$s['latestDevReleaseSub'] = 'Etwas unzuverlässigere Builds mit den neuesten Funktionen.<br>Ideal für hochtechnische Benutzer.';
$s['latestBetaRelease'] = 'Neueste Beta Channel-Version';
$s['latestBetaReleaseSub'] = 'Zuverlässigere Builds mit den meisten verfügbaren Funktionen.<br>Ideal für Personen, die gerne früh neue Funktionen wollen.';
$s['latestRPRelease'] = 'Neueste Release Vorschau-Build';
$s['latestRPReleaseSub'] = 'Zuverlässiges Build für die Vorschau auf die nächste Version.<br>Ideal zum Ausprobieren kommender öffentlichen Versionen.';
$s['advOptions'] = 'Erweiterte Optionen';
$s['browseBuilds'] = 'Bekannte Builds durchsuchen.';
$s['browseBuildsSub'] = 'Wählen Sie ein bereits bekanntes Build aus und laden Sie es herunter.';