mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-07-13 12:52:08 +08:00
1.1.3 -> 1.1.4 第78次更新
This commit is contained in:
parent
c7efd8df68
commit
56185d2750
@ -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!);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user