Skip to content

Commit 8b11480

Browse files
committed
Add CheckUpdate
1 parent 84e2a2b commit 8b11480

File tree

5 files changed

+170
-133
lines changed

5 files changed

+170
-133
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ shadowsocks-csharp/shadowsocks-csharp.csproj.user
55
TestResults
66
*.suo
77

8+
/shadowsocks-csharp/Resources/Thumbs.db
9+
/shadowsocks-csharp/Thumbs.db

shadowsocks-csharp/Controller/ShadowsocksController.cs

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public void SaveServers(List<Server> servers, ConfigForm form = null)
7474

7575
_config.autohide = form.checkBoxAutoHide.Checked;
7676
_config.autorun = form.checkBoxAutoRun.Checked;
77+
_config.autoupdate = form.tempAutoCheckUpdate;
7778
_config.ads.Clear();
7879
foreach (string item in form.listBoxADs.Items)
7980
{

shadowsocks-csharp/Model/Configuration.cs

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public Configuration()
1919
public bool isDefault;
2020
public bool autohide;
2121
public bool autorun;
22+
public bool autoupdate;
2223

2324
public List<string> ads;
2425

0 commit comments

Comments
 (0)