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 94eff0a4bb
commit 8f283dc800

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 & " """ & Arg & """"
Next
CreateObject("Wscript.Shell").Run strCommand, 0, false