This commit is contained in:
2025-10-25 21:48:12 +02:00
parent ee9cb6f5c8
commit b665775a5f

View File

@@ -683,9 +683,7 @@ def on_message(client, userdata, msg):
writeLog(myCmd)
output = subprocess.Popen(myCmd, shell=True)
writeLog(output)
if myObj["cmd"] == "display":
if curos == "Windows":
myCmd =f"powershell -w h -command \" Import-Module DisplayConfig ; Import-Clixml $home\\monitors\\{myObj['target']}.xml | Use-DisplayConfig -UpdateAdapterIds \""