diff --git a/net.nutcore.aliddns/net.nutcore.aliddns/Properties/AssemblyInfo.cs b/net.nutcore.aliddns/net.nutcore.aliddns/Properties/AssemblyInfo.cs index 1220fab..6d2104d 100644 --- a/net.nutcore.aliddns/net.nutcore.aliddns/Properties/AssemblyInfo.cs +++ b/net.nutcore.aliddns/net.nutcore.aliddns/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, // 方法是按如下所示使用“*”: : // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("3.7.1.0")] -[assembly: AssemblyFileVersion("3.7.1.0")] +[assembly: AssemblyVersion("3.7.1.1")] +[assembly: AssemblyFileVersion("3.7.1.1")] diff --git a/net.nutcore.aliddns/net.nutcore.aliddns/Resources/alidns_green.ico b/net.nutcore.aliddns/net.nutcore.aliddns/Resources/alidns_green.ico index 5905178..e6611ea 100644 Binary files a/net.nutcore.aliddns/net.nutcore.aliddns/Resources/alidns_green.ico and b/net.nutcore.aliddns/net.nutcore.aliddns/Resources/alidns_green.ico differ diff --git a/net.nutcore.aliddns/net.nutcore.aliddns/alidns_green.ico b/net.nutcore.aliddns/net.nutcore.aliddns/alidns_green.ico index 5905178..e6611ea 100644 Binary files a/net.nutcore.aliddns/net.nutcore.aliddns/alidns_green.ico and b/net.nutcore.aliddns/net.nutcore.aliddns/alidns_green.ico differ diff --git a/net.nutcore.aliddns/net.nutcore.aliddns/main.cs b/net.nutcore.aliddns/net.nutcore.aliddns/main.cs index 11f3f96..4b452f9 100644 --- a/net.nutcore.aliddns/net.nutcore.aliddns/main.cs +++ b/net.nutcore.aliddns/net.nutcore.aliddns/main.cs @@ -74,7 +74,7 @@ namespace net.nutcore.aliddns textBox_log.AppendText(System.DateTime.Now.ToString() + " " + "获取WAN口IP失败!" + "\r\n"); } - try + try //获取域名绑定IP { clientProfile = DefaultProfile.GetProfile("cn-hangzhou", accessKeyId.Text, accessKeySecret.Text); client = new DefaultAcsClient(clientProfile); @@ -82,9 +82,10 @@ namespace net.nutcore.aliddns } catch (Exception) { - textBox_log.AppendText(System.DateTime.Now.ToString() + " " + "获取域名和绑定IP失败,请检查设置项目内容和网络状态!" + "\r\n"); } + if (localIP.Text == domainIP.Text) //如果WAN口IP与域名绑定IP一致,刷新系统托盘图标 + this.notifyIcon_sysTray.Icon = Properties.Resources.alidns_green; } private void readConfigFile() diff --git a/net.nutcore.aliddns/net.nutcore.aliddns/updateinfo.txt b/net.nutcore.aliddns/net.nutcore.aliddns/updateinfo.txt index 31c0f68..19707c5 100644 --- a/net.nutcore.aliddns/net.nutcore.aliddns/updateinfo.txt +++ b/net.nutcore.aliddns/net.nutcore.aliddns/updateinfo.txt @@ -1,3 +1,6 @@ +v3.7.1.1 +1޸ϵͳͼˢBUG + v3.7.1.0 1ϵͳͼ״̬¹ܣɫ-ȡWANIP߻ȡIPʧܡɫ-ȡɹWANIPIPһ¡ɫ-ȡɹWANIPIPһ¡ɫ-WAN粻ͨ 2޸ĴʹǩˢBUG