From b00e3aa8c2a83d726d00734252ccb8ab5fc4e92f Mon Sep 17 00:00:00 2001 From: Space Time Date: Tue, 15 Oct 2024 11:15:31 +0800 Subject: [PATCH] =?UTF-8?q?1.1.2=20->=201.1.3=20=E7=AC=AC4=E6=AC=A1?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Utils/MihomoProc.cs | 5 ++--- Utils/NginxProc.cs | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Utils/MihomoProc.cs b/Utils/MihomoProc.cs index 1397d66..c1418bf 100644 --- a/Utils/MihomoProc.cs +++ b/Utils/MihomoProc.cs @@ -1,10 +1,9 @@ -using System.IO; -using Sheas_Cealer.Consts; +using Sheas_Cealer.Consts; using SheasCore; namespace Sheas_Cealer.Utils; internal class MihomoProc : Proc { - internal MihomoProc() : base(Path.GetFileName(MainConst.MihomoPath)) { } + internal MihomoProc() : base(MainConst.MihomoPath) { } } \ No newline at end of file diff --git a/Utils/NginxProc.cs b/Utils/NginxProc.cs index 961ed93..ace3432 100644 --- a/Utils/NginxProc.cs +++ b/Utils/NginxProc.cs @@ -8,7 +8,7 @@ namespace Sheas_Cealer.Utils; internal class NginxProc : Proc { - internal NginxProc() : base(Path.GetFileName(MainConst.NginxPath)) { } + internal NginxProc() : base(MainConst.NginxPath) { } public override void Process_Exited(object sender, EventArgs e) {