remove sendconsoletext from computer-identifiers.js

This commit is contained in:
Simon Smith 2024-05-17 17:13:59 +01:00 committed by GitHub
parent e8da6a607c
commit bc2f34b629
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -732,7 +732,6 @@ function macos_identifiers()
try { try {
ret.darwin.volumes = JSON.parse(child.stdout.str.trim()); ret.darwin.volumes = JSON.parse(child.stdout.str.trim());
for (var index = 0; index < ret.darwin.volumes.length; index++) { for (var index = 0; index < ret.darwin.volumes.length; index++) {
sendConsoleText(ret.darwin.volumes[index].size);
if (ret.darwin.volumes[index].size == 'auto_home'){ if (ret.darwin.volumes[index].size == 'auto_home'){
ret.darwin.volumes.splice(index,1); ret.darwin.volumes.splice(index,1);
} }
@ -975,4 +974,4 @@ if (process.platform == 'win32')
// board_name = BASEBOARD->Product = ioreg/board-id // board_name = BASEBOARD->Product = ioreg/board-id
// board_serial = BASEBOARD->SerialNumber = ioreg/serial-number | ioreg/IOPlatformSerialNumber // board_serial = BASEBOARD->SerialNumber = ioreg/serial-number | ioreg/IOPlatformSerialNumber
// board_vendor = BASEBOARD->Manufacturer = ioreg/manufacturer // board_vendor = BASEBOARD->Manufacturer = ioreg/manufacturer
// board_version = BASEBOARD->Version // board_version = BASEBOARD->Version