From bf60f5d1a62ddea30564c0f6528afec077e402f5 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Tue, 8 Feb 2022 20:25:47 +1100 Subject: [PATCH] add action --- Plugins/Flow.Launcher.Plugin.Explorer/Main.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Main.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Main.cs index 8133eba6a..0114063c1 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Main.cs @@ -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; }