This commit is contained in:
2025-11-04 07:25:05 +01:00
parent 38862b3f39
commit 043a97e23f

View File

@@ -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 \""