StarRailCopilot/module/device/env.py
LmeSzinc 599579aee6 Chore: [ALAS] Abstract platform condition
(cherry picked from commit 6064457620b202da7442884b45f9e21556df88b8)
2024-07-12 12:41:28 +08:00

6 lines
124 B
Python

import sys
IS_WINDOWS = sys.platform == 'win32'
IS_MACINTOSH = sys.platform == 'darwin'
IS_LINUX = sys.platform == 'linux'