mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-09-14 13:56:56 +08:00
1.1.3 -> 1.1.4 第59次更新
This commit is contained in:
parent
54f9326f29
commit
8dc34243bd
@ -85,8 +85,7 @@ public partial class MainWin : Window
|
|||||||
if (!MainPres.IsNginxRunning)
|
if (!MainPres.IsNginxRunning)
|
||||||
NginxStoppedCleaner.Clean();
|
NginxStoppedCleaner.Clean();
|
||||||
|
|
||||||
try { UpdateUpstreamHostButton_Click(null!, null!); }
|
UpdateUpstreamHostButton_Click(null!, null!);
|
||||||
catch { }
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
private void MainWin_Closing(object sender, CancelEventArgs e) => Application.Current.Shutdown();
|
private void MainWin_Closing(object sender, CancelEventArgs e) => Application.Current.Shutdown();
|
||||||
@ -448,7 +447,7 @@ public partial class MainWin : Window
|
|||||||
catch (UnauthorizedAccessException) { Process.Start(new ProcessStartInfo(upstreamUpstreamHostUrl) { UseShellExecute = true, Verb = "RunAs" }); }
|
catch (UnauthorizedAccessException) { Process.Start(new ProcessStartInfo(upstreamUpstreamHostUrl) { UseShellExecute = true, Verb = "RunAs" }); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch { if (sender != null) throw; }
|
catch when (sender == null) { }
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SettingsButton_Click(object sender, RoutedEventArgs e) => new SettingsWin().ShowDialog();
|
private void SettingsButton_Click(object sender, RoutedEventArgs e) => new SettingsWin().ShowDialog();
|
||||||
|
Loading…
Reference in New Issue
Block a user