nvda
c3ab89ce - Fix ARM64 detection when NVDA starts at sign-in

Commit
1 day ago
Fix ARM64 detection when NVDA starts at sign-in winVersion took the processor architecture from platform.machine(). That function asks WMI first. CPython gives up on the WMI query after a short timeout, and at sign-in it can fail. platform then falls back to PROCESSOR_ARCHITECTURE. For x64 NVDA on ARM64 Windows, that variable says AMD64. The wrong value is cached until NVDA restarts. NVDA then loads the x64 helper libraries instead of arm64ec and never starts the ARM64 remote loader. Ask IsWow64Process2 for the native machine instead. Add an IMAGE_FILE_MACHINE enum to winBindings.kernel32 for its values. Assisted-by: Claude:claude-opus-5-5
Author
Parents
Loading