From 043a97e23f96b99c344c87af8b0340d56a54aaa7 Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 4 Nov 2025 07:25:05 +0100 Subject: [PATCH] build --- mqtt_srv.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mqtt_srv.py b/mqtt_srv.py index 2e6fefe..9bc7ebb 100755 --- a/mqtt_srv.py +++ b/mqtt_srv.py @@ -705,6 +705,7 @@ def on_message(client, userdata, msg): 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 \""