56ec8a1f4b
closes rhbz#2090942 Remove 'which' dependency, closes rhbz#2111531 Add support for detecting EFI shell binary (shell.efi), closes rhbz#2101953 Add support for Win 11 on ARM 64 systems
16 lines
680 B
Diff
16 lines
680 B
Diff
diff --git a/os-probes/mounted/arm64/20microsoft b/os-probes/mounted/arm64/20microsoft
|
|
index 066918a..b69c2ba 100755
|
|
--- a/os-probes/mounted/arm64/20microsoft
|
|
+++ b/os-probes/mounted/arm64/20microsoft
|
|
@@ -31,7 +31,9 @@ if item_in_dir -q bootmgr "$2"; then
|
|
for boot in $(item_in_dir boot "$2"); do
|
|
bcd=$(item_in_dir bcd "$2/$boot")
|
|
if [ -n "$bcd" ]; then
|
|
- if grep -aqs "W.i.n.d.o.w.s. .1.0" "$2/$boot/$bcd"; then
|
|
+ if grep -aqs "W.i.n.d.o.w.s. .1.1" "$2/$boot/$bcd"; then
|
|
+ long="Windows 11"
|
|
+ elif grep -aqs "W.i.n.d.o.w.s. .1.0" "$2/$boot/$bcd"; then
|
|
long="Windows 10"
|
|
elif grep -aqs "W.i.n.d.o.w.s. .8" "$2/$boot/$bcd"; then
|
|
long="Windows 8"
|