From 62bee229b61944baed4c52ecdf2d0704a32a3a02 Mon Sep 17 00:00:00 2001 From: bgcfb Date: Tue, 24 Sep 2024 20:19:30 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dpotplayer=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=92=AD=E6=94=BE,=E8=A7=A3=E5=86=B3MPV=E4=B8=8D?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E9=97=AE=E5=8F=B7.=E7=A7=BB=E5=8A=A8ftp?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E4=B8=AD=E9=97=AE=E5=8F=B7=E8=87=B3=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Program.cs b/Program.cs index 2250654..f1eb90b 100644 --- a/Program.cs +++ b/Program.cs @@ -72,10 +72,10 @@ static void Main(string[] args) URL = DecodeURL(item, URL); // Append Query String - URL += "?" + item.queryString; + URL += item.queryString; // Execute - ExecuteApplication(item.programPath, string.Join(URL, item.command)); + System.Diagnostics.Process.Start(item.programPath, string.Join(URL, item.command)); // Return after Execution return; From 361017ee07b973e5875080cc736f218e226f778a Mon Sep 17 00:00:00 2001 From: bgcfb Date: Tue, 24 Sep 2024 20:21:26 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=BC=83=E7=94=A8ExecuteApplication?= =?UTF-8?q?=E6=94=B9=E4=B8=BASystem.Diagnostics.Process.Start?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index f1eb90b..d0c7e13 100644 --- a/Program.cs +++ b/Program.cs @@ -86,7 +86,7 @@ static void Main(string[] args) // Fallback Execution URL = DecodeURL(uconfig.fallback, URL); URL = Uri.EscapeUriString(URL); - ExecuteApplication(uconfig.fallback.programPath, string.Join(URL, uconfig.fallback.command)); + System.Diagnostics.Process.Start(uconfig.fallback.programPath, string.Join(URL, uconfig.fallback.command)); return; } }