mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-27 02:40:51 +01:00
rename gnome to linux
This commit is contained in:
parent
260ebc5a4b
commit
c34cdda954
@ -8,7 +8,7 @@ import java.util.Map;
|
|||||||
/**
|
/**
|
||||||
* Created by Jonas on 04/04/18.
|
* Created by Jonas on 04/04/18.
|
||||||
*/
|
*/
|
||||||
class GnomeTerminalLogger extends SimpleTerminalLogger {
|
class LinuxTerminalLogger extends SimpleTerminalLogger {
|
||||||
|
|
||||||
public final static Map<String, String> colorizePackets;
|
public final static Map<String, String> colorizePackets;
|
||||||
static {
|
static {
|
@ -9,7 +9,7 @@ public class PacketLoggerFactory {
|
|||||||
|
|
||||||
public static PacketLogger get() {
|
public static PacketLogger get() {
|
||||||
if (OSValidator.isUnix()) {
|
if (OSValidator.isUnix()) {
|
||||||
return new GnomeTerminalLogger();
|
return new LinuxTerminalLogger();
|
||||||
}
|
}
|
||||||
// if (System.getenv("XDG_CURRENT_DESKTOP") != null && System.getenv("XDG_CURRENT_DESKTOP").toLowerCase().contains("gnome")) {
|
// if (System.getenv("XDG_CURRENT_DESKTOP") != null && System.getenv("XDG_CURRENT_DESKTOP").toLowerCase().contains("gnome")) {
|
||||||
// return new GnomeTerminalLogger();
|
// return new GnomeTerminalLogger();
|
||||||
|
Loading…
Reference in New Issue
Block a user