1.1.3 -> 1.1.4 第78次更新

This commit is contained in:
Space Time 2024-12-18 23:41:05 +08:00
parent c7efd8df68
commit 56185d2750

View File

@ -309,6 +309,8 @@ public partial class MainWin : Window
NginxCleaner.Clean();
NginxHttpPort = 80;
NginxHttpsPort = 443;
NginxConfWatcher_Changed(null!, null!);
}
}
@ -373,11 +375,14 @@ public partial class MainWin : Window
MainPres.IsMihomoIniting = false;
}
else
{
foreach (Process mihomoProcess in Process.GetProcessesByName(Path.GetFileNameWithoutExtension(MainConst.MihomoPath)))
{
mihomoProcess.Kill();
await mihomoProcess.WaitForExitAsync();
}
MihomoMixedPort = 7880;
MihomoConfWatcher_Changed(null!, null!);
}
}