systeminformation
Advanced tools
Comparing version 5.17.13 to 5.17.14
@@ -292,3 +292,3 @@ 'use strict'; | ||
result.distro = util.getValue(lines, 'ProductName'); | ||
result.release = util.getValue(lines, 'ProductVersion'); | ||
result.release = (util.getValue(lines, 'ProductVersion', ':', true, true) + ' ' + util.getValue(lines, 'ProductVersionExtra', ':', true, true)).trim(); | ||
result.build = util.getValue(lines, 'BuildVersion'); | ||
@@ -295,0 +295,0 @@ result.logofile = getLogoFile(result.distro); |
@@ -122,3 +122,3 @@ 'use strict'; | ||
let result = ''; | ||
lines.forEach((line) => { | ||
lines.some((line) => { | ||
let lineLower = line.toLowerCase().replace(/\t/g, ''); | ||
@@ -133,2 +133,3 @@ if (trimmed) { | ||
result = parts.join(separator).trim(); | ||
return true; | ||
} | ||
@@ -135,0 +136,0 @@ } |
{ | ||
"name": "systeminformation", | ||
"version": "5.17.13", | ||
"version": "5.17.14", | ||
"description": "Advanced, lightweight system and OS information library", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
726249
15347