Allow unsafe codes in Release build.

This commit is contained in:
qianlifeng
2014-10-24 16:48:14 +08:00
parent f399ef8f69
commit a7dfb9cb97
3 changed files with 2 additions and 31 deletions

View File

@@ -76,25 +76,6 @@ namespace Wox.Plugin.FindFile
{
List<Result> contextMenus = new List<Result>();
contextMenus.Add(new Result()
{
Title = "Open",
Action = _ =>
{
try
{
Process.Start(record.FullPath);
}
catch
{
context.API.ShowMsg("Can't open " + record.FullPath, string.Empty, string.Empty);
return false;
}
return true;
},
IcoPath = "Images/open.png"
});
if (!record.IsFolder)
{
contextMenus.Add(new Result()