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;
|
serial: string;
|
||||||
build: string;
|
build: string;
|
||||||
servicepack: string;
|
servicepack: string;
|
||||||
uefi: boolean;
|
uefi: boolean | null;
|
||||||
hypervizor?: boolean;
|
hypervizor?: boolean;
|
||||||
remoteSession?: boolean;
|
remoteSession?: boolean;
|
||||||
hypervisor?: boolean;
|
hypervisor?: boolean;
|
||||||
|
|||||||
@ -277,7 +277,7 @@ function osInfo(callback) {
|
|||||||
result.serial = serial || result.serial;
|
result.serial = serial || result.serial;
|
||||||
result.codename = '';
|
result.codename = '';
|
||||||
result.codepage = util.getCodepage();
|
result.codepage = util.getCodepage();
|
||||||
result.uefi = uefi || result.uefi;
|
result.uefi = uefi || null;
|
||||||
if (callback) {
|
if (callback) {
|
||||||
callback(result);
|
callback(result);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user