Skip to content

Commit

Permalink
Update TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Dramelac committed May 21, 2024
1 parent 4a4e9f4 commit 8a76e49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions exegol/model/ContainerConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down
7 changes: 3 additions & 4 deletions exegol/utils/GuiUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a76e49

Please sign in to comment.