diff --git a/main.py b/main.py index cff6b9c..9234962 100644 --- a/main.py +++ b/main.py @@ -1,12 +1,14 @@ #!/usr/bin/env python3 """Main asteroid-automator script.""" -import os +import platform -import pyautogui +PLATFORM_SYS = platform.system() -if os.name == "windows": +if PLATFORM_SYS == "Windows": import d3dshot +elif PLATFORM_SYS == "Linux": + import pyautogui class AutomatableGame: