graphics() subDeviceId fix (win)
This commit is contained in:
parent
582c28ea53
commit
1fb548120e
@ -913,7 +913,7 @@ function graphics(callback) {
|
||||
if ({}.hasOwnProperty.call(sections, i)) {
|
||||
if (sections[i].trim() !== '') {
|
||||
let lines = sections[i].trim().split('\n');
|
||||
let pnpDeviceId = util.getValue(lines, 'PNPDeviceID', ':').match(/PCI\\(VEN_[0-9A-F]{4})&(DEV_[0-9A-F]{4})(?:&(SUBSYS_[0-9A-F]{8}))?(?:&(REV_[0-9A-F]{2}))?/i);
|
||||
let pnpDeviceId = util.getValue(lines, 'PNPDeviceID', ':').match(/PCI\\(VEN_[0-9A-F]{4})&(DEV_[0-9A-F]{4})(?:&(SUBSYS_[0-9A-F]{8}))?(?:&(REV_[0-9A-F]{2}))?/i);
|
||||
let subDeviceId = null;
|
||||
let memorySize = null;
|
||||
if (pnpDeviceId) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user