Skip to content

Commit

Permalink
Pass scrcpy-noconsole arguments through to scrcpy
Browse files Browse the repository at this point in the history
PR #2052 <#2052>

Signed-off-by: Romain Vimont <[email protected]>
  • Loading branch information
slingmint authored and rom1v committed Mar 16, 2021
1 parent 0308ef4 commit dd453ad
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion data/scrcpy-noconsole.vbs
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit dd453ad

Please sign in to comment.