sebhildebrandt / systeminformation

System Information Library for Node.JS
MIT License
2.71k stars 309 forks source link

Checking UEFI on Windows #546

Closed YMGPwcca closed 3 years ago

YMGPwcca commented 3 years ago

Describe the bug On some PC, the script "findstr /C:"Detected boot environment" "%windir%\Panther\setupact.log"" reports EFI not UEFI.

To Reproduce Steps to reproduce the behavior:

  1. used function '...'
  2. code snippet '....'
  3. start app / code
  4. See output/error '....'

Current Output If applicable, add output to help explain your problem.

Expected behavior A clear and concise description of what you expected to happen.

Environment (please complete the following information):

Additional context image

sebhildebrandt commented 3 years ago

@spermlord thank you! Can you also post output of

echo %firmware_type%
YMGPwcca commented 3 years ago

@spermlord thank you! Can you also post output of

echo %firmware_type%

Here image

sebhildebrandt commented 3 years ago

Think you @spermlord . Should be fixed now. Version 5.7.3 just published. Can you check it on your side?

YMGPwcca commented 3 years ago

Thanks! I will update dependencies and check it in minute.

Update: It works perfectly!

sebhildebrandt commented 3 years ago

@spermlord About your comment to my fix: Correct! did this already locally but forgot to push this change ... anyway. As you said. it works for now. And in the next push, this is cleaned up.