Skip to content

Commit

Permalink
update20190511
Browse files Browse the repository at this point in the history
修复代理导入bug
  • Loading branch information
shack2 committed May 11, 2019
1 parent a00c120 commit 6c32367
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions SuperSQLInjection/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public static String getSid()
return sid;
}

public static int version = 20190508;
public static int version = 20190511;
public static string versionURL = "http://www.shack2.org/soft/getNewVersion?ENNAME=SSuperSQLInjection&NO=" + URLEncode.UrlEncode(getSid()) + "&VERSION=" + version;
//检查更新
public void checkUpdate()
Expand Down Expand Up @@ -7689,7 +7689,8 @@ private void Main_FormClosing(object sender, FormClosingEventArgs e)

try
{
XML.saveObject(AppDomain.CurrentDomain.BaseDirectory + "/proxy/proxy.xml", proxy);
String proxypath = AppDomain.CurrentDomain.BaseDirectory + "/proxy/proxy.xml";
XML.saveObject(proxypath, proxy);
}
catch (Exception ex)
{
Expand All @@ -7698,14 +7699,16 @@ private void Main_FormClosing(object sender, FormClosingEventArgs e)

try
{
FileTool.SaveProxyList(AppDomain.CurrentDomain.BaseDirectory + "/proxy/proxylist.txt", this.proxy_List.Values);
String proxypath = AppDomain.CurrentDomain.BaseDirectory + "/proxy/proxylist.txt";
File.Delete(proxypath);
FileTool.SaveProxyList(proxypath, this.proxy_List.Values);
}
catch (Exception ex)
{
Tools.SysLog("保存代理池发生错误!" + ex.Message);
}

System.Environment.Exit(0);
Application.Exit();
}

private void tsmi_about_Click(object sender, EventArgs e)
Expand Down
4 changes: 2 additions & 2 deletions SuperSQLInjection/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值,
// 方法是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2019.05.08")]
[assembly: AssemblyFileVersion("1.2019.05.08")]
[assembly: AssemblyVersion("1.2019.05.11")]
[assembly: AssemblyFileVersion("1.2019.05.11")]

0 comments on commit 6c32367

Please sign in to comment.