2023-10-31 14:59:27 +00:00
|
|
|
import os
|
2023-08-04 18:27:03 +00:00
|
|
|
import platform
|
|
|
|
|
|
|
|
IS_LIN = True if platform.system() == 'Linux' else False
|
|
|
|
IS_MAC = True if platform.system() == 'Darwin' else False
|
|
|
|
IS_WIN = True if platform.system() == 'Windows' else False
|
|
|
|
|
|
|
|
OS_ID = 'lin' if IS_LIN else 'mac' if IS_MAC else 'win'
|
2023-10-31 14:59:27 +00:00
|
|
|
|
|
|
|
DISPLAY = os.getenv('DISPLAY', ':0')
|
2023-11-16 10:48:17 +00:00
|
|
|
|
|
|
|
TEST_MODE = os.getenv('STATUS_RUNTIME_TEST_MODE')
|