mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-07-14 13:22:07 +08:00
1.1.3 -> 1.1.4 第44次更新
This commit is contained in:
parent
2e7f4d4cf9
commit
34165391b4
@ -35,7 +35,12 @@ public partial class AboutWin : Window
|
|||||||
ProcessStartInfo processStartInfo = new(senderButton == EmailButton ? "mailto:" : string.Empty + senderButton!.ToolTip) { UseShellExecute = true };
|
ProcessStartInfo processStartInfo = new(senderButton == EmailButton ? "mailto:" : string.Empty + senderButton!.ToolTip) { UseShellExecute = true };
|
||||||
|
|
||||||
try { Process.Start(processStartInfo); }
|
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)
|
private void AboutWin_KeyDown(object sender, KeyEventArgs e)
|
||||||
|
Loading…
Reference in New Issue
Block a user