Skip to content
代码片段 群组 项目
提交 b102d440 编辑于 作者: Paddy Xu's avatar Paddy Xu
浏览文件

write log when failed to create the shortcut

上级 7f357e25
No related branches found
No related tags found
无相关合并请求
......@@ -17,7 +17,7 @@
using System;
using System.IO;
using Shell32;
using QuickLook.Common.Helpers;
namespace QuickLook.Helpers
{
......@@ -45,8 +45,9 @@ namespace QuickLook.Helpers
lnk.Save(StartupFullPath);
}
catch (Exception)
catch (Exception e)
{
ProcessHelper.WriteLog(e.ToString());
TrayIconManager.ShowNotification("", "Failed to add QuickLook to Startup folder.");
}
}
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册