From d4171ecfdaebd6486953248781f0e37ba9543cbc Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 22 Sep 2025 08:18:05 +0200 Subject: [PATCH] feat: Download older Windows 11 build on ARMv8.0 --- src/mido.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mido.sh b/src/mido.sh index 0ab8229..a2f7776 100644 --- a/src/mido.sh +++ b/src/mido.sh @@ -403,13 +403,11 @@ getCatalog() { local edition="" local file="catalog.cab" - if [[ "${PLATFORM,,}" == "arm64" && "${ARCH,,}" == "arm64" ]]; - - # ARMv8.0 and lower cannot run Windows 11 builds higher than 22631 + if [[ "${id,,}" == "win11"* && "${PLATFORM,,}" != "x64" && "${ARCH,,}" == "arm64" ]]; + # ARMv8.0 cannot run Windows 11 builds higher than 22631 if ! grep -qw 'Features.*atomics' /proc/cpuinfo; then echo $(getBuild "$1" "$2" "22631.2861") && return 0 fi - fi case "${id,,}" in