Compare commits

...

2 Commits

Author SHA1 Message Date
Romain Vimont
6b8f3ef651 fixup! Pass scrcpy-noconsole arguments through to scrcpy 2021-01-24 11:52:34 +01:00
slingmint
8f283dc800 Pass scrcpy-noconsole arguments through to scrcpy
PR #2052 <https://github.com/Genymobile/scrcpy/pull/2052>

Signed-off-by: Romain Vimont <rom@rom1v.com>
2021-01-22 18:11:55 +01:00

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