File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Plugins/Flow.Launcher.Plugin.Program Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 73
73
<system : String x : Key =" flowlauncher_plugin_program_run_as_administrator" >Run As Administrator</system : String >
74
74
<system : String x : Key =" flowlauncher_plugin_program_open_containing_folder" >Open containing folder</system : String >
75
75
<system : String x : Key =" flowlauncher_plugin_program_disable_program" >Disable this program from displaying</system : String >
76
+ <system : String x : Key =" flowlauncher_plugin_program_open_target_folder" >Open target folder</system : String >
76
77
77
78
<system : String x : Key =" flowlauncher_plugin_program_plugin_name" >Program</system : String >
78
79
<system : String x : Key =" flowlauncher_plugin_program_plugin_description" >Search programs in Flow Launcher</system : String >
Original file line number Diff line number Diff line change @@ -261,7 +261,19 @@ public List<Result> ContextMenus(IPublicAPI api)
261
261
} ,
262
262
IcoPath = "Images/folder.png" ,
263
263
Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe838 " ) ,
264
- }
264
+ } ,
265
+ new Result
266
+ {
267
+ Title = api . GetTranslation ( "flowlauncher_plugin_program_open_target_folder" ) ,
268
+ Action = _ =>
269
+ {
270
+ Main . Context . API . OpenDirectory ( Path . GetDirectoryName ( ExecutablePath ) , ExecutablePath ) ;
271
+
272
+ return true ;
273
+ } ,
274
+ IcoPath = "Images/folder.png" ,
275
+ Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe8de " ) ,
276
+ } ,
265
277
} ;
266
278
return contextMenus ;
267
279
}
You can’t perform that action at this time.
0 commit comments