From 6b0ba94288d9ad705da72e8bde718d21cf077f0c Mon Sep 17 00:00:00 2001 From: bao-qian Date: Thu, 12 Jan 2017 20:50:17 +0000 Subject: [PATCH] format --- Plugins/Wox.Plugin.ControlPanel/Main.cs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Plugins/Wox.Plugin.ControlPanel/Main.cs b/Plugins/Wox.Plugin.ControlPanel/Main.cs index 9841bd854e..8d2f065463 100644 --- a/Plugins/Wox.Plugin.ControlPanel/Main.cs +++ b/Plugins/Wox.Plugin.ControlPanel/Main.cs @@ -63,19 +63,19 @@ namespace Wox.Plugin.ControlPanel SubTitle = item.InfoTip, Score = item.Score, IcoPath = Path.Combine(context.CurrentPluginMetadata.PluginDirectory, - @"Images\\ControlPanelIcons\\" + item.GUID + fileType), + @"Images\\ControlPanelIcons\\" + item.GUID + fileType), Action = e => + { + try { - try - { - Process.Start(item.ExecutablePath); - } - catch (Exception) - { - //Silently Fail for now.. todo - } - return true; + Process.Start(item.ExecutablePath); } + catch (Exception) + { + //Silently Fail for now.. todo + } + return true; + } }; results.Add(result); } @@ -115,4 +115,4 @@ namespace Wox.Plugin.ControlPanel return context.API.GetTranslation("wox_plugin_controlpanel_plugin_description"); } } -} +} \ No newline at end of file