1.1.3 -> 1.1.4 第44次更新

This commit is contained in:
Space Time 2024-12-10 19:18:16 +08:00
parent 2e7f4d4cf9
commit 34165391b4

View File

@ -35,7 +35,12 @@ public partial class AboutWin : Window
ProcessStartInfo processStartInfo = new(senderButton == EmailButton ? "mailto:" : string.Empty + senderButton!.ToolTip) { UseShellExecute = true };
try { Process.Start(processStartInfo); }
catch (UnauthorizedAccessException) { Process.Start(processStartInfo.Verb = "RunAs"); }
catch (UnauthorizedAccessException)
{
processStartInfo.Verb = "RunAs";
Process.Start(processStartInfo);
}
}
private void AboutWin_KeyDown(object sender, KeyEventArgs e)