rename gnome to linux

This commit is contained in:
sirjonasxx 2018-09-25 22:19:26 +02:00
parent 260ebc5a4b
commit c34cdda954
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ import java.util.Map;
/**
* Created by Jonas on 04/04/18.
*/
class GnomeTerminalLogger extends SimpleTerminalLogger {
class LinuxTerminalLogger extends SimpleTerminalLogger {
public final static Map<String, String> colorizePackets;
static {

View File

@ -9,7 +9,7 @@ public class PacketLoggerFactory {
public static PacketLogger get() {
if (OSValidator.isUnix()) {
return new GnomeTerminalLogger();
return new LinuxTerminalLogger();
}
// if (System.getenv("XDG_CURRENT_DESKTOP") != null && System.getenv("XDG_CURRENT_DESKTOP").toLowerCase().contains("gnome")) {
// return new GnomeTerminalLogger();