Added suport for Elementary OS 0.3.2
This commit is contained in:
parent
ee54ab39bc
commit
944bf1bbf5
|
@ -240,7 +240,10 @@ class OSUtil {
|
||||||
try {
|
try {
|
||||||
String output = getInfo();
|
String output = getInfo();
|
||||||
// ID="elementary" (notice the extra quotes)
|
// ID="elementary" (notice the extra quotes)
|
||||||
return output.contains("ID=\"elementary\"\n") || output.contains("ID=elementary\n");
|
return output.contains("ID=\"elementary\"\n") || output.contains("ID=elementary\n") ||
|
||||||
|
|
||||||
|
// this is specific to eOS < 0.3.2
|
||||||
|
output.contains("ID=\"elementary OS\"\n");
|
||||||
} catch (Throwable ignored) {
|
} catch (Throwable ignored) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user