mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
format
This commit is contained in:
@@ -63,19 +63,19 @@ namespace Wox.Plugin.ControlPanel
|
|||||||
SubTitle = item.InfoTip,
|
SubTitle = item.InfoTip,
|
||||||
Score = item.Score,
|
Score = item.Score,
|
||||||
IcoPath = Path.Combine(context.CurrentPluginMetadata.PluginDirectory,
|
IcoPath = Path.Combine(context.CurrentPluginMetadata.PluginDirectory,
|
||||||
@"Images\\ControlPanelIcons\\" + item.GUID + fileType),
|
@"Images\\ControlPanelIcons\\" + item.GUID + fileType),
|
||||||
Action = e =>
|
Action = e =>
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
try
|
Process.Start(item.ExecutablePath);
|
||||||
{
|
|
||||||
Process.Start(item.ExecutablePath);
|
|
||||||
}
|
|
||||||
catch (Exception)
|
|
||||||
{
|
|
||||||
//Silently Fail for now.. todo
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
//Silently Fail for now.. todo
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
results.Add(result);
|
results.Add(result);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user