From 6b8f3ef65167648a3a150c9039e7ae27cd2ececf Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Sun, 24 Jan 2021 11:52:34 +0100 Subject: [PATCH] fixup! Pass scrcpy-noconsole arguments through to scrcpy --- data/scrcpy-noconsole.vbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/scrcpy-noconsole.vbs b/data/scrcpy-noconsole.vbs index 2e0c05437a..d509ad7f1e 100644 --- a/data/scrcpy-noconsole.vbs +++ b/data/scrcpy-noconsole.vbs @@ -1,7 +1,7 @@ strCommand = "cmd /c scrcpy.exe" For Each Arg In WScript.Arguments - strCommand = strCommand & " """ & Arg & """" + strCommand = strCommand & " """ & replace(Arg, """", """""""""") & """" Next CreateObject("Wscript.Shell").Run strCommand, 0, false