@@ -362,16 +362,16 @@ private void BtnEdge_Clicked(object? sender, EventArgs e)
362362
363363 private void BtnFirefox_Clicked ( object ? sender , EventArgs e )
364364 {
365- try
366- {
367- NativeMessagingHostConfigurer . InstallNativeMessagingHostForLinux ( Browser . Firefox ) ;
368- }
369- catch ( Exception ex )
370- {
371- Log . Debug ( ex , "Error installing native host" ) ;
372- GtkHelper . ShowMessageBox ( this , TextResource . GetText ( "MSG_NATIVE_HOST_FAILED" ) ) ;
373- return ;
374- }
365+ // try
366+ // {
367+ // NativeMessagingHostConfigurer.InstallNativeMessagingHostForLinux(Browser.Firefox);
368+ // }
369+ // catch (Exception ex)
370+ // {
371+ // Log.Debug(ex, "Error installing native host");
372+ // GtkHelper.ShowMessageBox(this, TextResource.GetText("MSG_NATIVE_HOST_FAILED"));
373+ // return;
374+ // }
375375
376376 try
377377 {
@@ -393,30 +393,30 @@ private void ShowIntegrationWindow(Browser browser)
393393 private void KillExistingSessions ( Browser browser , out string ? exeLocation )
394394 {
395395 exeLocation = null ;
396- if ( ! GtkHelper . ShowConfirmMessageBox ( this , TextResource . GetText ( "MSG_KILL_BROWSER" ) , "XDM" ) )
397- {
398- return ;
399- }
400- foreach ( var exeName in NativeMessagingHostConfigurer . GetBrowserExecutableName ( browser ) )
401- {
402- PlatformHelper . KillAll ( $ "{ exeName } ", out exeLocation ) ;
403- }
396+ // if (!GtkHelper.ShowConfirmMessageBox(this, TextResource.GetText("MSG_KILL_BROWSER"), "XDM"))
397+ // {
398+ // return;
399+ // }
400+ // foreach (var exeName in NativeMessagingHostConfigurer.GetBrowserExecutableName(browser))
401+ // {
402+ // PlatformHelper.KillAll($"{exeName}", out exeLocation);
403+ // }
404404 }
405405
406406 private void BrowserButtonClick ( Browser browser )
407407 {
408408 //KillExistingSessions(browser, out string? exeLocation);
409409
410- try
411- {
412- NativeMessagingHostConfigurer . InstallNativeMessagingHostForLinux ( browser ) ;
413- }
414- catch ( Exception ex )
415- {
416- Log . Debug ( ex , "Error installing native host" ) ;
417- GtkHelper . ShowMessageBox ( this , TextResource . GetText ( "MSG_NATIVE_HOST_FAILED" ) ) ;
418- return ;
419- }
410+ // try
411+ // {
412+ // NativeMessagingHostConfigurer.InstallNativeMessagingHostForLinux(browser);
413+ // }
414+ // catch (Exception ex)
415+ // {
416+ // Log.Debug(ex, "Error installing native host");
417+ // GtkHelper.ShowMessageBox(this, TextResource.GetText("MSG_NATIVE_HOST_FAILED"));
418+ // return;
419+ // }
420420
421421 try
422422 {
0 commit comments