mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
feat: Add Windows XP support
This commit is contained in:
parent
ae57b1353c
commit
01c6b1aa29
1 changed files with 9 additions and 0 deletions
|
|
@ -27,6 +27,9 @@ fi
|
|||
[[ "${VERSION,,}" == "vista" ]] && VERSION="winvistax64"
|
||||
[[ "${VERSION,,}" == "winvista" ]] && VERSION="winvistax64"
|
||||
|
||||
[[ "${VERSION,,}" == "xp" ]] && VERSION="winxp86"
|
||||
[[ "${VERSION,,}" == "winxp" ]] && VERSION="winxp86"
|
||||
|
||||
[[ "${VERSION,,}" == "22" ]] && VERSION="win2022-eval"
|
||||
[[ "${VERSION,,}" == "2022" ]] && VERSION="win2022-eval"
|
||||
[[ "${VERSION,,}" == "win22" ]] && VERSION="win2022-eval"
|
||||
|
|
@ -67,6 +70,11 @@ if [[ "${VERSION,,}" == "winvistax64" ]]; then
|
|||
VERSION="https://dl.bobpony.com/windows/vista/en_windows_vista_sp2_x64_dvd_342267.iso"
|
||||
fi
|
||||
|
||||
if [[ "${VERSION,,}" == "winxp86" ]]; then
|
||||
DETECTED="winxp86"
|
||||
VERSION="https://dl.bobpony.com/windows/xp/professional/en_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73974.iso"
|
||||
fi
|
||||
|
||||
if [[ "${VERSION,,}" == "core11" ]]; then
|
||||
DETECTED="win11x64"
|
||||
VERSION="https://archive.org/download/tiny-11-core-x-64-beta-1/tiny11%20core%20x64%20beta%201.iso"
|
||||
|
|
@ -107,6 +115,7 @@ printVersion() {
|
|||
[[ "$id" == "win8"* ]] && desc="Windows 8"
|
||||
[[ "$id" == "win10"* ]] && desc="Windows 10"
|
||||
[[ "$id" == "win11"* ]] && desc="Windows 11"
|
||||
[[ "$id" == "winxp"* ]] && desc="Windows XP"
|
||||
[[ "$id" == "winvista"* ]] && desc="Windows Vista"
|
||||
[[ "$id" == "win2025"* ]] && desc="Windows Server 2025"
|
||||
[[ "$id" == "win2022"* ]] && desc="Windows Server 2022"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue