mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-07-13 21:02:08 +08:00
1.1.3 -> 1.1.4 第58次更新
This commit is contained in:
parent
2660c63311
commit
54f9326f29
@ -409,6 +409,8 @@ public partial class MainWin : Window
|
||||
Process.Start(new ProcessStartInfo(confPath) { UseShellExecute = true });
|
||||
}
|
||||
private async void UpdateUpstreamHostButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (!File.Exists(MainConst.UpstreamHostPath))
|
||||
File.Create(MainConst.UpstreamHostPath).Dispose();
|
||||
@ -446,6 +448,8 @@ public partial class MainWin : Window
|
||||
catch (UnauthorizedAccessException) { Process.Start(new ProcessStartInfo(upstreamUpstreamHostUrl) { UseShellExecute = true, Verb = "RunAs" }); }
|
||||
}
|
||||
}
|
||||
catch { if (sender != null) throw; }
|
||||
}
|
||||
|
||||
private void SettingsButton_Click(object sender, RoutedEventArgs e) => new SettingsWin().ShowDialog();
|
||||
private async void NoClickButton_Click(object sender, RoutedEventArgs e)
|
||||
|
Loading…
Reference in New Issue
Block a user