fix mac memory part number
Signed-off-by: si458 <simonsmith5521@gmail.com>
si458 committed
Mar 25, 2024 at 13:41 UTC
81e98033fce135bfd78587036baba7735708b053
1 file changed
+1
-1
agents/modules_meshcore/computer-identifiers.js
+1
-1
@@ -623,7 +623,7 @@ function macos_identifiers()
623
var key = parts[0].trim();
624
var value = parts[1].trim();
625
value = (key == 'Part Number' || key == 'Manufacturer') ? hexToAscii(parts[1].trim()) : parts[1].trim();
626
- slotObj[key] = value; // Store attribute in the slot object
626
+ slotObj[key.replace(' ','')] = value; // Store attribute in the slot object
627
}
628
});
629
memorySlots.push(slotObj);