Moved IGEL detection into util ENV logic for a more broad application

This commit is contained in:
Robinson 2021-03-20 22:04:53 +01:00
parent e7991707c3
commit 88fe8469be

View File

@ -657,6 +657,12 @@ class OSUtil {
// same thing with plasmashell!
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".
if ("unity".equalsIgnoreCase(XDG)) {