add action

This commit is contained in:
Jeremy 2022-02-08 20:25:47 +11:00
parent 7faa4bb0f4
commit bf60f5d1a6

View file

@ -28,10 +28,11 @@ namespace Flow.Launcher.Plugin.Explorer
return new ExplorerSettings(viewModel);
}
public Task PathSelected(string filePath, string hotkey)
public Task PathSelected(string path, string hotkey)
{
//checked the hotkey if is ctrl+c, then
//copy file to clipboard.
Context.API.ShowMsg("Success", string.Format("You have selected path \"{0}\", with hotkey \"{1}\"", path, hotkey));
return Task.CompletedTask;
}