Commit 4be0057
Use Arm64-aware wording when WSL reports virtualization off (#594)
* Use Arm64-aware wording when WSL reports virtualization off
The SetupEngine preflight-wsl step previously surfaced x86-only firmware
terminology (VT-x/AMD-V, BIOS/UEFI) when wsl.exe reported
'virtualization is not enabled'. On ARM64 devices (e.g. Surface) those
terms don't apply, leaving the remediation message confusing.
Split TryGetEnvironmentIssue into a public 1-arg method that delegates
to a new internal overload taking System.Runtime.InteropServices.
Architecture. The Arm64 branch emits UEFI-/Intune-aware wording;
other architectures keep the existing x64 wording. RuntimeInformation.
OSArchitecture reflects OS arch (not process arch), so this works even
when the app runs as win-x64 under Prism on ARM64 Windows.
Fixes #593
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Retrigger CI
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 077d44c commit 4be0057
2 files changed
Lines changed: 45 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
110 | 116 | | |
111 | 117 | | |
112 | 118 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
117 | 126 | | |
118 | 127 | | |
119 | | - | |
120 | | - | |
121 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
122 | 137 | | |
123 | 138 | | |
124 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
600 | 601 | | |
601 | 602 | | |
602 | 603 | | |
| 604 | + | |
603 | 605 | | |
604 | 606 | | |
| 607 | + | |
605 | 608 | | |
606 | 609 | | |
607 | 610 | | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
608 | 629 | | |
609 | 630 | | |
610 | 631 | | |
| |||
649 | 670 | | |
650 | 671 | | |
651 | 672 | | |
652 | | - | |
| 673 | + | |
| 674 | + | |
653 | 675 | | |
654 | 676 | | |
655 | 677 | | |
| |||
0 commit comments