Skip to content

Commit

Permalink
Fix mac OS detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Dramelac committed Dec 14, 2023
1 parent aaf8057 commit b0de254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exegol/config/EnvInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def initData(cls, docker_info):
elif cls.__is_docker_desktop:
# If docker desktop is detected but not a Windows engine/kernel, it's (probably) a mac
cls.__docker_engine = cls.DockerEngine.DOCKER_DESKTOP
cls.__docker_host_os = cls.HostOs.LINUX if "linuxkit" in docker_kernel else cls.HostOs.MAC
cls.__docker_host_os = cls.HostOs.MAC if cls.is_mac_shell else cls.HostOs.LINUX
elif is_orbstack:
# Orbstack is only available on Mac
cls.__docker_engine = cls.DockerEngine.ORBSTACK
Expand Down

0 comments on commit b0de254

Please sign in to comment.