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