Add an option for checking updates

This commit is contained in:
Gang Zhuo
2015-09-21 22:42:16 -04:00
parent 204d6b856e
commit 00ccb52bef
5 changed files with 71 additions and 17 deletions
@@ -23,6 +23,7 @@ namespace Shadowsocks.Model
public string pacUrl;
public bool useOnlinePac;
public bool availabilityStatistics;
public bool autoCheckUpdate;
private static string CONFIG_FILE = "gui-config.json";
@@ -76,6 +77,7 @@ namespace Shadowsocks.Model
index = 0,
isDefault = true,
localPort = 1080,
autoCheckUpdate = true,
configs = new List<Server>()
{
GetDefaultServer()