Moved IGEL detection into util ENV logic for a more broad application
This commit is contained in:
parent
e7991707c3
commit
88fe8469be
@ -657,7 +657,13 @@ class OSUtil {
|
|||||||
// same thing with plasmashell!
|
// same thing with plasmashell!
|
||||||
XDG = "kde";
|
XDG = "kde";
|
||||||
}
|
}
|
||||||
|
else if (OSUtil.Linux.isIgel()) {
|
||||||
|
// https://github.com/dorkbox/SystemTray/issues/100
|
||||||
|
// IGEL linux doesn't say what it is... but we know it's XFCE
|
||||||
|
XDG = "xfce";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Ubuntu Unity is a weird combination. It's "Gnome", but it's not "Gnome Shell".
|
// Ubuntu Unity is a weird combination. It's "Gnome", but it's not "Gnome Shell".
|
||||||
if ("unity".equalsIgnoreCase(XDG)) {
|
if ("unity".equalsIgnoreCase(XDG)) {
|
||||||
return Env.Unity;
|
return Env.Unity;
|
||||||
|
Loading…
Reference in New Issue
Block a user