mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-22 15:13:17 +00:00
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 +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 New Issue
Block a user