mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
feat: Add Tiny10 and Tiny11
This commit is contained in:
parent
efa556cb84
commit
eeac3c82b3
1 changed files with 16 additions and 5 deletions
|
|
@ -2,11 +2,9 @@
|
|||
set -Eeuo pipefail
|
||||
|
||||
: "${MANUAL:=""}"
|
||||
: "${EXTERNAL:="N"}"
|
||||
: "${EXTERNAL:=""}"
|
||||
: "${VERSION:="win11x64"}"
|
||||
|
||||
[[ "${VERSION,,}" == "http"* ]] && EXTERNAL="Y"
|
||||
|
||||
[[ "${VERSION,,}" == "11" ]] && VERSION="win11x64"
|
||||
[[ "${VERSION,,}" == "win11" ]] && VERSION="win11x64"
|
||||
|
||||
|
|
@ -34,6 +32,20 @@ set -Eeuo pipefail
|
|||
[[ "${VERSION,,}" == "win16" ]] && VERSION="win2016-eval"
|
||||
[[ "${VERSION,,}" == "win2016" ]] && VERSION="win2016-eval"
|
||||
|
||||
if [[ "${VERSION,,}" == "tiny10" ]]; then
|
||||
VERSION="https://archive.org/download/tiny-10-23-h2/tiny10%20x64%2023h2.iso"
|
||||
fi
|
||||
|
||||
if [[ "${VERSION,,}" == "tiny11" ]]; then
|
||||
VERSION="https://archive.org/download/tiny-11-NTDEV/tiny11%2023H2%20x64.iso"
|
||||
fi
|
||||
|
||||
if [[ "${VERSION,,}" == "http"* ]];
|
||||
EXTERNAL="Y"
|
||||
else
|
||||
EXTERNAL="N"
|
||||
fi
|
||||
|
||||
MSG="Please wait while Windows is being started..."
|
||||
|
||||
if [ ! -f "$STORAGE/custom.iso" ]; then
|
||||
|
|
@ -131,10 +143,9 @@ if [ -z "$MANUAL" ]; then
|
|||
MANUAL="N"
|
||||
|
||||
if [[ "$EXTERNAL" == [Yy1]* ]]; then
|
||||
|
||||
[[ "${BASE,,}" == "tiny10"* ]] && MANUAL="Y"
|
||||
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if [[ "$MANUAL" != [Yy1]* ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue