systeminformation 5.23.23 → 5.23.24
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 +10 -1
- package/package.json +1 -1
package/lib/osinfo.js
CHANGED
|
@@ -76,12 +76,15 @@ function getLogoFile(distro) {
|
|
|
76
76
|
if (_windows) {
|
|
77
77
|
result = 'windows';
|
|
78
78
|
}
|
|
79
|
-
else if (distro.indexOf('mac os') !== -1) {
|
|
79
|
+
else if (distro.indexOf('mac os') !== -1 || distro.indexOf('macos') !== -1) {
|
|
80
80
|
result = 'apple';
|
|
81
81
|
}
|
|
82
82
|
else if (distro.indexOf('arch') !== -1) {
|
|
83
83
|
result = 'arch';
|
|
84
84
|
}
|
|
85
|
+
else if (distro.indexOf('cachy') !== -1) {
|
|
86
|
+
result = 'cachy';
|
|
87
|
+
}
|
|
85
88
|
else if (distro.indexOf('centos') !== -1) {
|
|
86
89
|
result = 'centos';
|
|
87
90
|
}
|
|
@@ -97,6 +100,9 @@ function getLogoFile(distro) {
|
|
|
97
100
|
else if (distro.indexOf('elementary') !== -1) {
|
|
98
101
|
result = 'elementary';
|
|
99
102
|
}
|
|
103
|
+
else if (distro.indexOf('endeavour') !== -1) {
|
|
104
|
+
result = 'endeavour';
|
|
105
|
+
}
|
|
100
106
|
else if (distro.indexOf('fedora') !== -1) {
|
|
101
107
|
result = 'fedora';
|
|
102
108
|
}
|
|
@@ -133,6 +139,9 @@ function getLogoFile(distro) {
|
|
|
133
139
|
else if (distro.indexOf('puppy') !== -1) {
|
|
134
140
|
result = 'puppy';
|
|
135
141
|
}
|
|
142
|
+
else if (distro.indexOf('popos') !== -1) {
|
|
143
|
+
result = 'popos';
|
|
144
|
+
}
|
|
136
145
|
else if (distro.indexOf('raspbian') !== -1) {
|
|
137
146
|
result = 'raspbian';
|
|
138
147
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.23.
|
|
3
|
+
"version": "5.23.24",
|
|
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)",
|