mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-07-13 21:02: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();
|
NginxCleaner.Clean();
|
||||||
|
|
||||||
|
NginxHttpPort = 80;
|
||||||
|
NginxHttpsPort = 443;
|
||||||
NginxConfWatcher_Changed(null!, null!);
|
NginxConfWatcher_Changed(null!, null!);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -373,11 +375,14 @@ public partial class MainWin : Window
|
|||||||
MainPres.IsMihomoIniting = false;
|
MainPres.IsMihomoIniting = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
foreach (Process mihomoProcess in Process.GetProcessesByName(Path.GetFileNameWithoutExtension(MainConst.MihomoPath)))
|
foreach (Process mihomoProcess in Process.GetProcessesByName(Path.GetFileNameWithoutExtension(MainConst.MihomoPath)))
|
||||||
{
|
{
|
||||||
mihomoProcess.Kill();
|
mihomoProcess.Kill();
|
||||||
await mihomoProcess.WaitForExitAsync();
|
await mihomoProcess.WaitForExitAsync();
|
||||||
|
}
|
||||||
|
|
||||||
|
MihomoMixedPort = 7880;
|
||||||
MihomoConfWatcher_Changed(null!, null!);
|
MihomoConfWatcher_Changed(null!, null!);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user