systeminformation 5.22.3 → 5.22.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/osinfo.js +2 -2
- package/lib/wifi.js +1 -1
- package/package.json +1 -1
package/lib/osinfo.js
CHANGED
|
@@ -1122,8 +1122,8 @@ function uuid(callback) {
|
|
|
1122
1122
|
});
|
|
1123
1123
|
}
|
|
1124
1124
|
if (_linux) {
|
|
1125
|
-
const cmd = `echo -n "os: "; cat /var/lib/dbus/machine-id 2> /dev/null
|
|
1126
|
-
|
|
1125
|
+
const cmd = `echo -n "os: "; cat /var/lib/dbus/machine-id 2> /dev/null ||
|
|
1126
|
+
cat /etc/machine-id 2> /dev/null; echo;
|
|
1127
1127
|
echo -n "hardware: "; cat /sys/class/dmi/id/product_uuid 2> /dev/null; echo;`;
|
|
1128
1128
|
exec(cmd, function (error, stdout) {
|
|
1129
1129
|
const lines = stdout.toString().split('\n');
|
package/lib/wifi.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.22.
|
|
3
|
+
"version": "5.22.5",
|
|
4
4
|
"description": "Advanced, lightweight system and OS information library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Sebastian Hildebrandt <hildebrandt@plus-innovations.com> (https://plus-innovations.com)",
|