Add Auto Updater [WIP] & remove UAC project

This commit is contained in:
qianlifeng
2015-01-19 23:08:53 +08:00
parent b49209a0d9
commit 5e3d29df4c
25 changed files with 161 additions and 608 deletions

View File

@@ -17,6 +17,7 @@ using NHotkey.Wpf;
using Wox.Core.i18n;
using Wox.Core.Plugin;
using Wox.Core.Theme;
using Wox.Core.Updater;
using Wox.Core.UserSettings;
using Wox.Helper;
using Wox.Infrastructure;
@@ -264,6 +265,7 @@ namespace Wox
HwndSource.FromHwnd(new WindowInteropHelper(this).Handle).CompositionTarget.BackgroundColor = Color.FromArgb(0, 0, 0, 0);
WindowIntelopHelper.DisableControlBox(this);
UpdaterManager.Instance.CheckUpdate();
}
public void SetHotkey(string hotkeyStr, EventHandler<HotkeyEventArgs> action)