@@ -133,6 +133,8 @@ public void Init(PluginInitContext context)
133
133
private List < Result > Commands ( )
134
134
{
135
135
var results = new List < Result > ( ) ;
136
+ var logPath = Path . Combine ( DataLocation . DataDirectory ( ) , "Logs" , Constant . Version ) ;
137
+ var userDataPath = DataLocation . DataDirectory ( )
136
138
results. AddRange ( new [ ]
137
139
{
138
140
new Result
@@ -294,6 +296,7 @@ private List<Result> Commands()
294
296
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_openrecyclebin" ) ,
295
297
IcoPath = "Images\\ openrecyclebin.png" ,
296
298
Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe74d " ) ,
299
+ CopyText = "shell:RecycleBinFolder" ,
297
300
Action = c =>
298
301
{
299
302
{
@@ -386,9 +389,9 @@ private List<Result> Commands()
386
389
Title = "Open Log Location" ,
387
390
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_open_log_location" ) ,
388
391
IcoPath = "Images\\ app.png" ,
392
+ CopyText = logPath ,
389
393
Action = c =>
390
394
{
391
- var logPath = Path . Combine ( DataLocation . DataDirectory ( ) , "Logs" , Constant . Version ) ;
392
395
context . API . OpenDirectory ( logPath ) ;
393
396
return true ;
394
397
}
@@ -398,6 +401,7 @@ private List<Result> Commands()
398
401
Title = "Flow Launcher Tips" ,
399
402
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_open_docs_tips" ) ,
400
403
IcoPath = "Images\\ app.png" ,
404
+ CopyText = Constant . Documentation ,
401
405
Action = c =>
402
406
{
403
407
context . API . OpenUrl ( Constant . Documentation ) ;
@@ -409,9 +413,10 @@ private List<Result> Commands()
409
413
Title = "Flow Launcher UserData Folder" ,
410
414
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_open_userdata_location" ) ,
411
415
IcoPath = "Images\\ app.png" ,
416
+ CopyText = userDataPath ,
412
417
Action = c =>
413
418
{
414
- context . API . OpenDirectory ( DataLocation . DataDirectory ( ) ) ;
419
+ context . API . OpenDirectory ( userDataPath ) ;
415
420
return true ;
416
421
}
417
422
} ,
0 commit comments