Add upgrade check.

This commit is contained in:
qianlifeng
2014-12-14 23:16:29 +08:00
parent ac3b86fb85
commit 128453fad1
8 changed files with 186 additions and 7 deletions

View File

@@ -8,6 +8,9 @@ namespace Wox.Infrastructure.Storage.UserSettings
{
public class UserSettingStorage : BaseStorage<UserSettingStorage>
{
[JsonProperty]
public bool DontPromptUpdateMsg { get; set; }
[JsonProperty]
public string Hotkey { get; set; }
@@ -145,6 +148,7 @@ namespace Wox.Infrastructure.Storage.UserSettings
protected override UserSettingStorage LoadDefaultConfig()
{
DontPromptUpdateMsg = false;
Theme = "Dark";
ReplaceWinR = true;
WebSearches = LoadDefaultWebSearches();