Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
breakwa11 committed Jul 27, 2017
1 parent 54e2378 commit 932b86e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion shadowsocks-csharp/Controller/UpdateChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class UpdateChecker

public const string Name = "ShadowsocksR";
public const string Copyright = "Copyright © BreakWa11 2017. Fork from Shadowsocks by clowwindy";
public const string Version = "4.6.1";
public const string Version = "4.7.0";
#if !_DOTNET_4_0
public const string NetVer = "2.0";
#elif !_CONSOLE
Expand Down
14 changes: 8 additions & 6 deletions shadowsocks-csharp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,18 @@ static void Main(string[] args)
{
if (try_times >= 5)
return;
InputPassword dlg = new InputPassword();
if (dlg.ShowDialog() == DialogResult.OK)
Configuration.SetPassword(dlg.password);
else
return;
using (InputPassword dlg = new InputPassword())
{
if (dlg.ShowDialog() == DialogResult.OK)
Configuration.SetPassword(dlg.password);
else
return;
}
try_times += 1;
}
#endif
_controller = new ShadowsocksController();

HostMap.Instance().LoadHostFile();
#if !_CONSOLE
_viewController = new MenuViewController(_controller);
#endif
Expand Down

0 comments on commit 932b86e

Please sign in to comment.