We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4851f2a commit c4cac64Copy full SHA for c4cac64
src/platform.ts
@@ -80,6 +80,16 @@ export function getCurrentPlatform() {
80
case 'ol':
81
// Oracle Linux is binary compatible with CentOS
82
return Platform.CentOS;
83
+ case 'elementary OS':
84
+ const eOSVersionId = getValue("VERSION_ID");
85
+ if (eOSVersionId.startsWith("0.3")) {
86
+ // Elementary OS 0.3 Freya is binary compatible with Ubuntu 14.04
87
+ return Platform.Ubuntu14;
88
+ }
89
+ else if (eOSVersionId.startsWith("0.4")) {
90
+ // Elementary OS 0.4 Loki is binary compatible with Ubuntu 16.04
91
+ return Platform.Ubuntu16;
92
93
}
94
95
0 commit comments