mirror of
https://github.com/dockur/windows.git
synced 2026-08-25 08:09:04 +01:00
feat: Centralize platform and image state checks (#2139)
This commit is contained in:
+2
-2
@@ -320,7 +320,7 @@ downloadWindowsEval() {
|
||||
type="iot"
|
||||
winVer="windows-11-iot-enterprise-ltsc-eval" ;;
|
||||
"win11${PLATFORM,,}-enterprise-ltsc-eval" )
|
||||
if [[ "${PLATFORM,,}" == "arm64" ]]; then
|
||||
if isPlatform "arm64"; then
|
||||
type="iot"
|
||||
winVer="windows-11-iot-enterprise-ltsc-eval"
|
||||
else
|
||||
@@ -595,7 +595,7 @@ getWindows() {
|
||||
"win11${PLATFORM,,}-enterprise"* ) ;;
|
||||
* )
|
||||
|
||||
if [[ "${PLATFORM,,}" != "x64" ]]; then
|
||||
if ! isPlatform "x64"; then
|
||||
error "No download for the ${PLATFORM^^} platform available for $edition!"
|
||||
MIDO_URL=""
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user