Skip to content

Commit b324f85

Browse files
Fix OS detection for Elementary Linux (#823)
1 parent dccb3e3 commit b324f85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/platform.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export function getCurrentPlatform() {
8787
case 'ol':
8888
// Oracle Linux is binary compatible with CentOS
8989
return Platform.CentOS;
90+
case 'elementary':
9091
case 'elementary OS':
9192
const eOSVersionId = osReleaseMap.get("VERSION_ID");
9293
if (eOSVersionId.startsWith("0.3")) {

0 commit comments

Comments
 (0)