mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 11:25:49 +00:00
feat: Implement ARM compatibility check for Windows 11
This commit is contained in:
parent
e85ea9ec51
commit
083afdd679
1 changed files with 2 additions and 4 deletions
|
|
@ -403,12 +403,10 @@ getCatalog() {
|
|||
local edition=""
|
||||
local file="catalog.cab"
|
||||
|
||||
if [[ "${id,,}" == "win11"* && "${PLATFORM,,}" != "x64" && "${ARCH,,}" == "arm64" ]]; then
|
||||
if [[ "${id,,}" == "win11"* ]] && ! isCompatible; then
|
||||
# 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
|
||||
"win11${PLATFORM,,}" )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue