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) {