mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 06:16:32 +00:00
46e77e14e9
* Using the name of the display from CI in grabbing screenshots #233 * Test fail
11 lines
306 B
Python
11 lines
306 B
Python
import os
|
|
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'
|
|
|
|
DISPLAY = os.getenv('DISPLAY', ':0')
|