@@ -439,41 +439,41 @@ public string GetTranslatedPluginDescription()
439
439
public List < Result > LoadContextMenus ( Result selectedResult )
440
440
{
441
441
var results = new List < Result >
442
- {
443
- new ( )
444
442
{
445
- Title = Localize . flowlauncher_plugin_cmd_run_as_different_user ( ) ,
446
- Action = c =>
443
+ new ( )
447
444
{
448
- Execute ( ShellCommand . RunAsDifferentUser , PrepareProcessStartInfo ( selectedResult . Title ) ) ;
449
- return true ;
445
+ Title = Localize . flowlauncher_plugin_cmd_run_as_different_user ( ) ,
446
+ Action = c =>
447
+ {
448
+ Execute ( ShellCommand . RunAsDifferentUser , PrepareProcessStartInfo ( selectedResult . Title ) ) ;
449
+ return true ;
450
+ } ,
451
+ IcoPath = "Images/user.png" ,
452
+ Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe7ee " )
450
453
} ,
451
- IcoPath = "Images/user.png" ,
452
- Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe7ee " )
453
- } ,
454
- new ( )
455
- {
456
- Title = Localize . flowlauncher_plugin_cmd_run_as_administrator ( ) ,
457
- Action = c =>
454
+ new ( )
458
455
{
459
- Execute ( Process . Start , PrepareProcessStartInfo ( selectedResult . Title , true ) ) ;
460
- return true ;
456
+ Title = Localize . flowlauncher_plugin_cmd_run_as_administrator ( ) ,
457
+ Action = c =>
458
+ {
459
+ Execute ( Process . Start , PrepareProcessStartInfo ( selectedResult . Title , true ) ) ;
460
+ return true ;
461
+ } ,
462
+ IcoPath = "Images/admin.png" ,
463
+ Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe7ef " )
461
464
} ,
462
- IcoPath = "Images/admin.png" ,
463
- Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe7ef " )
464
- } ,
465
- new ( )
466
- {
467
- Title = Localize . flowlauncher_plugin_cmd_copy ( ) ,
468
- Action = c =>
465
+ new ( )
469
466
{
470
- Context . API . CopyToClipboard ( selectedResult . Title ) ;
471
- return true ;
472
- } ,
473
- IcoPath = "Images/copy.png" ,
474
- Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe8c8 " )
475
- }
476
- } ;
467
+ Title = Localize . flowlauncher_plugin_cmd_copy ( ) ,
468
+ Action = c =>
469
+ {
470
+ Context . API . CopyToClipboard ( selectedResult . Title ) ;
471
+ return true ;
472
+ } ,
473
+ IcoPath = "Images/copy.png" ,
474
+ Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe8c8 " )
475
+ }
476
+ } ;
477
477
478
478
return results ;
479
479
}
@@ -483,5 +483,4 @@ public void Dispose()
483
483
Context . API . RemoveGlobalKeyboardCallback ( API_GlobalKeyboardEvent ) ;
484
484
}
485
485
}
486
-
487
486
}
0 commit comments