This commit is contained in:
bao-qian
2017-01-12 20:50:17 +00:00
parent 870ad008bf
commit 6b0ba94288

View File

@@ -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");
}
}
}
}