File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed
Plugins/Flow.Launcher.Plugin.Sys Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 20
20
<system : String x : Key =" flowlauncher_plugin_sys_reload_plugin_data" >Refreshes plugin data with new content</system : String >
21
21
<system : String x : Key =" flowlauncher_plugin_sys_open_log_location" >Open Flow Launcher's log location</system : String >
22
22
<system : String x : Key =" flowlauncher_plugin_sys_check_for_update" >Check for new Flow Launcher update</system : String >
23
+ <system : String x : Key =" flowlauncher_plugin_sys_open_docs_tips" >Visit Flow Launcher's documentation for more help and how to use tips</system : String >
24
+ <system : String x : Key =" flowlauncher_plugin_sys_open_userdata_location" >Open the location where Flow Launcher's settings are stored</system : String >
23
25
24
26
<!-- Dialogs-->
25
27
<system : String x : Key =" flowlauncher_plugin_sys_dlgtitle_success" >Success</system : String >
Original file line number Diff line number Diff line change @@ -278,11 +278,33 @@ private List<Result> Commands()
278
278
Action = c =>
279
279
{
280
280
var logPath = Path . Combine ( DataLocation . DataDirectory ( ) , "Logs" , Constant . Version ) ;
281
- Process . Start ( "explorer" . SetProcessStartInfo ( arguments : logPath ) ) ;
281
+ FilesFolders . OpenPath ( logPath ) ;
282
+ return true ;
283
+ }
284
+ } ,
285
+ new Result
286
+ {
287
+ Title = "Flow Launcher Tips" ,
288
+ SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_open_docs_tips" ) ,
289
+ IcoPath = "Images\\ app.png" ,
290
+ Action = c =>
291
+ {
292
+ SearchWeb . NewTabInBrowser ( Constant . Documentation ) ;
293
+ return true ;
294
+ }
295
+ } ,
296
+ new Result
297
+ {
298
+ Title = "Flow Launcher UserData Folder" ,
299
+ SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_open_userdata_location" ) ,
300
+ IcoPath = "Images\\ app.png" ,
301
+ Action = c =>
302
+ {
303
+ FilesFolders . OpenPath ( DataLocation . DataDirectory ( ) ) ;
282
304
return true ;
283
305
}
284
306
}
285
- } ) ;
307
+ } ) ;
286
308
return results ;
287
309
}
288
310
You can’t perform that action at this time.
0 commit comments