File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1- using System ;
1+ using System ;
22using System . Diagnostics ;
33using System . Drawing ;
44using System . Globalization ;
@@ -67,9 +67,9 @@ static void Main(string[] args)
6767 Settings = SettingsSerializer . Load ( ) ;
6868 Logger = new GuiLogger ( ) ;
6969
70- if ( ! NativeMethods . IsUnix ( ) && Settings . RunAsAdmin && ! WinUtil . IsAdministrator )
70+ if ( ! NativeMethods . IsUnix ( ) && Settings . RunAsAdmin && ! WinUtil . IsAdministrator )
7171 {
72- WinUtil . RunElevated ( Process . GetCurrentProcess ( ) . MainModule . FileName , args . Length > 0 ? string . Join ( " " , args ) : null ) ;
72+ WinUtil . RunElevated ( Process . GetCurrentProcess ( ) . MainModule . FileName , args . Length > 0 ? string . Join ( " " , args ) : null ) ;
7373 return ;
7474 }
7575
@@ -106,6 +106,7 @@ public static void ShowException(Exception ex)
106106
107107 var msg = new ExceptionMessageBox ( ex )
108108 {
109+ Beep = false ,
109110 ShowToolBar = true ,
110111 Symbol = ExceptionMessageBoxSymbol . Error
111112 } ;
You can’t perform that action at this time.
0 commit comments