Basic check for QubesOS in runtime tests and to avoid starting LAN server

This commit is contained in:
Kevin Froman 2020-08-10 01:09:19 -05:00
parent 87b8655b83
commit 8389ed190c
3 changed files with 7 additions and 3 deletions

View file

@ -67,8 +67,8 @@ MOTD_SIGN_KEY = "TRH763JURNY47QPBTTQ4LLPYCYQK6Q5YA33R6GANKZK5C5DKCIGQ"
"""Public key that signs update notifications."""
UPDATE_SIGN_KEY = "TRH763JURNY47QPBTTQ4LLPYCYQK6Q5YA33R6GANKZK5C5DKCIGQ"
platform = platform.system()
if platform == 'Windows':
pf = platform.system()
if pf == 'Windows':
SCRIPT_NAME = 'run-windows.bat'
else:
if os.path.exists(filepaths.daemon_mark_file):