From 8a76e49a91bc6f68f35bd11c42a6a564f4dfe403 Mon Sep 17 00:00:00 2001 From: Dramelac Date: Tue, 21 May 2024 18:19:19 +0200 Subject: [PATCH] Update TODO --- exegol/model/ContainerConfig.py | 1 + exegol/utils/GuiUtils.py | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/exegol/model/ContainerConfig.py b/exegol/model/ContainerConfig.py index 0cae12b1..5a0d8e6b 100644 --- a/exegol/model/ContainerConfig.py +++ b/exegol/model/ContainerConfig.py @@ -428,6 +428,7 @@ def enableSharedTimezone(self): if not self.__share_timezone: logger.verbose("Config: Enabling host timezones") if EnvInfo.is_windows_shell or EnvInfo.isMacHost(): + # TODO improve tz resolution if len(tzname) > 0: logger.debug(f"Sharing timezone via TZ env var: '{tzname[0]}'") self.addEnv("TZ", tzname[0]) diff --git a/exegol/utils/GuiUtils.py b/exegol/utils/GuiUtils.py index 607a912e..aabd93be 100644 --- a/exegol/utils/GuiUtils.py +++ b/exegol/utils/GuiUtils.py @@ -41,10 +41,9 @@ def isWaylandGuiAvailable(cls) -> bool: :return: bool """ if EnvInfo.isWindowsHost(): - return False # TODO To Be defined (WSLg works fine for now) - # elif EnvInfo.isMacHost(): - # return False - # Linux or Mac, rely on var env settings + return False + elif EnvInfo.isMacHost(): + return False return EnvInfo.isWaylandAvailable() @classmethod