Skip to content

feat: add spibridgedatatype to bios information#1005

Open
SoraKenji wants to merge 2 commits intosebhildebrandt:masterfrom
SoraKenji:feat/add-spibridgedatatype-to-bios-info
Open

feat: add spibridgedatatype to bios information#1005
SoraKenji wants to merge 2 commits intosebhildebrandt:masterfrom
SoraKenji:feat/add-spibridgedatatype-to-bios-info

Conversation

@SoraKenji
Copy link
Copy Markdown

Hello!

I'm currently using systeminformation to get information in Ubuntu, MacOS and Windows devices and I'm loving it. Nonetheless I need to get more information about BIOS in MacOS devices, specifically security chip in older MacOS devices. I was thinking of just calling it from my code, but I think it's better if we extend systeminformation to get it.

I opted for using:

system_profiler SPiBridgeDataType -json

after the execution of the code to get SPHardwareDataType in Darwin and following the type of coding I saw in the original file. That adds to the result object if everthing went well and then it should resolve itself or call the callback function (if callback is a function really haha).

Let me know if everything seems to be fine and if this helps you in any way. I would be glad if you can add this to the next release :)!

adds spibirdgedatatype information to bios in order to be able to know security chip information from older MacOS devices
@sebhildebrandt
Copy link
Copy Markdown
Owner

@SoraKenji ... thank you for your commit ... I am thinking of making it more general as this library should work on multiple platforms ... I already worked on code that detects also TPM and Pluto on windows platforms as well as TPM on linux ... As I do no longer have any Intel based Apple device, can you provide the exact output of system_profiler SPiBridgeDataType -json on one of your machines?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants