feat: Add Tiny10 and Tiny11

This commit is contained in:
Kroese 2024-01-19 00:45:09 +01:00 committed by GitHub
parent efa556cb84
commit eeac3c82b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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