mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 18:44:53 +01:00
build
This commit is contained in:
@@ -705,6 +705,7 @@ def on_message(client, userdata, msg):
|
|||||||
output = subprocess.Popen(myCmd, shell=True)
|
output = subprocess.Popen(myCmd, shell=True)
|
||||||
writeLog(output)
|
writeLog(output)
|
||||||
|
|
||||||
|
|
||||||
if myObj["cmd"] == "display":
|
if myObj["cmd"] == "display":
|
||||||
if curos == "Windows":
|
if curos == "Windows":
|
||||||
myCmd =f"powershell -w h -command \" Import-Module DisplayConfig ; Import-Clixml $home\\monitors\\{myObj['target']}.xml | Use-DisplayConfig -UpdateAdapterIds \""
|
myCmd =f"powershell -w h -command \" Import-Module DisplayConfig ; Import-Clixml $home\\monitors\\{myObj['target']}.xml | Use-DisplayConfig -UpdateAdapterIds \""
|
||||||
|
|||||||
Reference in New Issue
Block a user