From 5999ab2acb2f0c8e27ca0641c4d454a1a5e105de Mon Sep 17 00:00:00 2001 From: wisdomwei201804 Date: Thu, 19 Apr 2018 14:39:07 +0800 Subject: [PATCH] =?UTF-8?q?v3.7.1.1=20=201=E3=80=81=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E6=89=98=E7=9B=98=E5=9B=BE=E6=A0=87=E5=88=B7?= =?UTF-8?q?=E6=96=B0BUG=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Properties/AssemblyInfo.cs | 4 ++-- .../Resources/alidns_green.ico | Bin 4286 -> 4286 bytes .../net.nutcore.aliddns/alidns_green.ico | Bin 4286 -> 4286 bytes .../net.nutcore.aliddns/main.cs | 5 +++-- .../net.nutcore.aliddns/updateinfo.txt | 3 +++ 5 files changed, 8 insertions(+), 4 deletions(-) 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 5905178fc8b1ed4d89a3c70a8eae1d6216d43312..e6611ea3b5b344ecb927e1adc766f960ef395949 100644 GIT binary patch delta 62 ycmdm|xKDAzC$`B2YzCW^*e@`OFMY}I9}Aw$$(adOw21QrBlE>C44ZSg16cv4H5_UH delta 91 zcmdm|xKDAzCpNKlZy5e3-DLP52gM0My5sTW56n`VmDn#ZPEKQ!naszTBKF}o!~b)i n8U7#r$ngIN5TE+Q@c+>du)0N@Cm1Kc<7S)0!m_!9+lv(dUK1?` diff --git a/net.nutcore.aliddns/net.nutcore.aliddns/alidns_green.ico b/net.nutcore.aliddns/net.nutcore.aliddns/alidns_green.ico index 5905178fc8b1ed4d89a3c70a8eae1d6216d43312..e6611ea3b5b344ecb927e1adc766f960ef395949 100644 GIT binary patch delta 62 ycmdm|xKDAzC$`B2YzCW^*e@`OFMY}I9}Aw$$(adOw21QrBlE>C44ZSg16cv4H5_UH delta 91 zcmdm|xKDAzCpNKlZy5e3-DLP52gM0My5sTW56n`VmDn#ZPEKQ!naszTBKF}o!~b)i n8U7#r$ngIN5TE+Q@c+>du)0N@Cm1Kc<7S)0!m_!9+lv(dUK1?` 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