diff --git a/install.py b/install.py index 8b2dd7c..7a215c9 100644 --- a/install.py +++ b/install.py @@ -3,7 +3,7 @@ import os def check_os(): """Checks the operating system and prints a message accordingly.""" - os_type = os.uname().system.lower() # Get OS name, lowercase for consistency + os_type = os.uname().sysname.lower() if os_type == "linux": print("Running on Linux")