osInfo() improved uefi parsing (FreeBSD)
This commit is contained in:
parent
65f66d17bf
commit
e577ff374e
2
lib/index.d.ts
vendored
2
lib/index.d.ts
vendored
@ -370,7 +370,7 @@ export namespace Systeminformation {
|
||||
serial: string;
|
||||
build: string;
|
||||
servicepack: string;
|
||||
uefi: boolean;
|
||||
uefi: boolean | null;
|
||||
hypervizor?: boolean;
|
||||
remoteSession?: boolean;
|
||||
hypervisor?: boolean;
|
||||
|
||||
@ -277,7 +277,7 @@ function osInfo(callback) {
|
||||
result.serial = serial || result.serial;
|
||||
result.codename = '';
|
||||
result.codepage = util.getCodepage();
|
||||
result.uefi = uefi || result.uefi;
|
||||
result.uefi = uefi || null;
|
||||
if (callback) {
|
||||
callback(result);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user