Pass scrcpy-noconsole arguments through to scrcpy

PR #2052 <https://github.com/Genymobile/scrcpy/pull/2052>

Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
slingmint 2021-01-20 13:13:42 -06:00 committed by Romain Vimont
parent 0308ef43f2
commit dd453ad041

View file

@ -1 +1,7 @@
CreateObject("Wscript.Shell").Run "cmd /c scrcpy.exe", 0, false
strCommand = "cmd /c scrcpy.exe"
For Each Arg In WScript.Arguments
strCommand = strCommand & " """ & replace(Arg, """", """""""""") & """"
Next
CreateObject("Wscript.Shell").Run strCommand, 0, false