mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 19:55:49 +00:00
Update define.sh
This commit is contained in:
parent
b95cd587e7
commit
f028dc892c
1 changed files with 8 additions and 8 deletions
|
|
@ -72,7 +72,7 @@ parseVersion() {
|
||||||
;;
|
;;
|
||||||
"25" | "2025" | "win25" | "win2025" | "windows2025" | "windows 2025" )
|
"25" | "2025" | "win25" | "win2025" | "windows2025" | "windows 2025" )
|
||||||
VERSION="win2025-eval"
|
VERSION="win2025-eval"
|
||||||
;;
|
;;
|
||||||
"22" | "2022" | "win22" | "win2022" | "windows2022" | "windows 2022" )
|
"22" | "2022" | "win22" | "win2022" | "windows2022" | "windows 2022" )
|
||||||
VERSION="win2022-eval"
|
VERSION="win2022-eval"
|
||||||
;;
|
;;
|
||||||
|
|
@ -90,7 +90,7 @@ parseVersion() {
|
||||||
;;
|
;;
|
||||||
"2003" | "2003r2" | "win2003" | "win2003r2" | "windows2003" | "windows 2003" )
|
"2003" | "2003r2" | "win2003" | "win2003r2" | "windows2003" | "windows 2003" )
|
||||||
VERSION="win2003r2"
|
VERSION="win2003r2"
|
||||||
;;
|
;;
|
||||||
"core11" | "core 11" )
|
"core11" | "core 11" )
|
||||||
VERSION="core11"
|
VERSION="core11"
|
||||||
[ -z "$DETECTED" ] && DETECTED="win11x64"
|
[ -z "$DETECTED" ] && DETECTED="win11x64"
|
||||||
|
|
@ -379,7 +379,7 @@ printVersion() {
|
||||||
"win2016"* ) desc="Windows Server 2016" ;;
|
"win2016"* ) desc="Windows Server 2016" ;;
|
||||||
"win2019"* ) desc="Windows Server 2019" ;;
|
"win2019"* ) desc="Windows Server 2019" ;;
|
||||||
"win2022"* ) desc="Windows Server 2022" ;;
|
"win2022"* ) desc="Windows Server 2022" ;;
|
||||||
"win2025"* ) desc="Windows Server 2025" ;;
|
"win2025"* ) desc="Windows Server 2025" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -z "$desc" ]; then
|
if [ -z "$desc" ]; then
|
||||||
|
|
@ -443,7 +443,7 @@ printEdition() {
|
||||||
;;
|
;;
|
||||||
"win2012"* | "win2008"* | "win2003"* )
|
"win2012"* | "win2008"* | "win2003"* )
|
||||||
edition="Standard"
|
edition="Standard"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
[ -n "$edition" ] && result="$result $edition"
|
[ -n "$edition" ] && result="$result $edition"
|
||||||
|
|
@ -519,7 +519,7 @@ fromFile() {
|
||||||
;;
|
;;
|
||||||
*"server2003"* | *"server_2003"* )
|
*"server2003"* | *"server_2003"* )
|
||||||
id="win2003r2"
|
id="win2003r2"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "$id" ]; then
|
if [ -n "$id" ]; then
|
||||||
|
|
@ -673,7 +673,7 @@ getMido() {
|
||||||
"win2025-eval" )
|
"win2025-eval" )
|
||||||
size=5307996160
|
size=5307996160
|
||||||
sum="16442d1c0509bcbb25b715b1b322a15fb3ab724a42da0f384b9406ca1c124ed4"
|
sum="16442d1c0509bcbb25b715b1b322a15fb3ab724a42da0f384b9406ca1c124ed4"
|
||||||
;;
|
;;
|
||||||
"win2022-eval" )
|
"win2022-eval" )
|
||||||
size=5044094976
|
size=5044094976
|
||||||
sum="3e4fa6d8507b554856fc9ca6079cc402df11a8b79344871669f0251535255325"
|
sum="3e4fa6d8507b554856fc9ca6079cc402df11a8b79344871669f0251535255325"
|
||||||
|
|
@ -1302,7 +1302,7 @@ getLink4() {
|
||||||
"zh-hk" | "zh-tw" ) url="zh-tw_windows_server_2025_preview_x64_dvd_9b147dcd.iso" ;;
|
"zh-hk" | "zh-tw" ) url="zh-tw_windows_server_2025_preview_x64_dvd_9b147dcd.iso" ;;
|
||||||
"zh" | "zh-"* ) url="zh-cn_windows_server_2025_preview_x64_dvd_a12bb0bf.iso" ;;
|
"zh" | "zh-"* ) url="zh-cn_windows_server_2025_preview_x64_dvd_a12bb0bf.iso" ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
"win2022" | "win2022-eval" )
|
"win2022" | "win2022-eval" )
|
||||||
case "${culture,,}" in
|
case "${culture,,}" in
|
||||||
"cs" | "cs-"* ) url="cs-cz_windows_server_2022_updated_april_2024_x64_dvd_164349f3.iso" ;;
|
"cs" | "cs-"* ) url="cs-cz_windows_server_2022_updated_april_2024_x64_dvd_164349f3.iso" ;;
|
||||||
|
|
@ -2054,7 +2054,7 @@ prepareInstall() {
|
||||||
local dir="$2"
|
local dir="$2"
|
||||||
local desc="$3"
|
local desc="$3"
|
||||||
local arch="$4"
|
local arch="$4"
|
||||||
local key="$5"
|
local key="$5"
|
||||||
local driver="$6"
|
local driver="$6"
|
||||||
local drivers="$TMP/drivers"
|
local drivers="$TMP/drivers"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue