From ee9cb6f5c8dd4ae6e8af26329bd48fab0c22514e Mon Sep 17 00:00:00 2001 From: jaydee Date: Sat, 25 Oct 2025 21:45:00 +0200 Subject: [PATCH] build --- mqtt_srv.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mqtt_srv.py b/mqtt_srv.py index 779daf7..7420084 100755 --- a/mqtt_srv.py +++ b/mqtt_srv.py @@ -684,6 +684,8 @@ 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 \""