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:
parent
0308ef43f2
commit
dd453ad041
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue