1.1.3 -> 1.1.4 第91次更新

This commit is contained in:
Space Time 2024-12-20 19:26:56 +08:00
parent b52eb93e40
commit 64f4bbad02

View File

@ -41,6 +41,7 @@ public partial class MainWin : Window
private readonly FileSystemWatcher CealHostWatcher = new(Path.GetDirectoryName(MainConst.CealHostPath)!, Path.GetFileName(MainConst.CealHostPath)) { EnableRaisingEvents = true, NotifyFilter = NotifyFilters.LastWrite };
private readonly FileSystemWatcher NginxConfWatcher = new(Path.GetDirectoryName(MainConst.NginxConfPath)!, Path.GetFileName(MainConst.NginxConfPath)) { EnableRaisingEvents = true, NotifyFilter = NotifyFilters.LastWrite };
private readonly FileSystemWatcher MihomoConfWatcher = new(Path.GetDirectoryName(MainConst.MihomoConfPath)!, Path.GetFileName(MainConst.MihomoConfPath)) { EnableRaisingEvents = true, NotifyFilter = NotifyFilters.LastWrite };
private readonly SemaphoreSlim IsNginxLaunchingSemaphore = new(1);
private readonly SortedDictionary<string, List<(List<(string cealHostIncludeDomain, string cealHostExcludeDomain)> cealHostDomainPairs, string? cealHostSni, string cealHostIp)>?> CealHostRulesDict = [];
private string CealArgs = string.Empty;
@ -56,8 +57,6 @@ public partial class MainWin : Window
private int GameClickTime = 0;
private int GameFlashInterval = 1000;
private static readonly SemaphoreSlim IsNginxLaunchingSemaphore = new(1);
internal MainWin()
{
InitializeComponent();