From a3162db829c88d9b4228f35eaf3de2a49a232094 Mon Sep 17 00:00:00 2001 From: wisdomwei201804 Date: Wed, 27 Mar 2019 11:48:55 +0800 Subject: [PATCH] =?UTF-8?q?v3.8.6.4=201=E3=80=81=E5=BD=93Ngrok=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E8=A2=AB=E9=80=89=E5=AE=9A=E6=97=B6=EF=BC=8CIP?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E6=9B=B4=E6=96=B0=E5=90=8E=EF=BC=8CNgrok?= =?UTF-8?q?=E7=A9=BF=E9=80=8F=E5=8A=9F=E8=83=BD=E8=87=AA=E5=8A=A8=E9=87=8D?= =?UTF-8?q?=E5=90=AF=EF=BC=8C=E9=81=BF=E5=85=8DIP=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=90=8ENgrok=E7=A9=BF=E9=80=8F=E5=A4=B1?= =?UTF-8?q?=E6=95=88=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../net.nutcore.aliddns/Form_main.cs | 16 ++++++++++++++++ .../Properties/AssemblyInfo.cs | 4 ++-- .../net.nutcore.aliddns/updateinfo.txt | 3 +++ 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/net.nutcore.aliddns/net.nutcore.aliddns/Form_main.cs b/net.nutcore.aliddns/net.nutcore.aliddns/Form_main.cs index b8890c0..7e51dac 100644 --- a/net.nutcore.aliddns/net.nutcore.aliddns/Form_main.cs +++ b/net.nutcore.aliddns/net.nutcore.aliddns/Form_main.cs @@ -374,6 +374,22 @@ namespace net.nutcore.aliddns { domainIP.Text = localIP.Text; //更新窗体数据 textBox_log.AppendText(System.DateTime.Now.ToString() + " " + "域名绑定IP更新成功!" + "\r\n"); + if (checkBox_ngrok.Checked == true) + { + //button_ngrok.Enabled = false; + //cfg.SaveAppSetting("ngrokauto", "On"); + //检测ngrok.exe是否存在 + if (ngrok.IsExists()) + { + textBox_log.AppendText(System.DateTime.Now.ToString() + " " + "IP地址变化,Ngrok功能重启!本机浏览器打开:http://127.0.0.1:4040 查看运行状态。" + "\r\n"); + ngrok.Stop(); + ngrok.Start(); + } + //else + //{ + //textBox_log.AppendText(System.DateTime.Now.ToString() + " " + "Ngrok功能启用,但当前目录没有发现ngrok.exe,请往官网下载自行编译:https://ngrok.com/download" + "\r\n"); + //} + } } textBox_recordId.Text = response.RecordId; } diff --git a/net.nutcore.aliddns/net.nutcore.aliddns/Properties/AssemblyInfo.cs b/net.nutcore.aliddns/net.nutcore.aliddns/Properties/AssemblyInfo.cs index 9cc52b2..891b112 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.8.6.3")] -[assembly: AssemblyFileVersion("3.8.6.3")] +[assembly: AssemblyVersion("3.8.6.4")] +[assembly: AssemblyFileVersion("3.8.6.4")] diff --git a/net.nutcore.aliddns/net.nutcore.aliddns/updateinfo.txt b/net.nutcore.aliddns/net.nutcore.aliddns/updateinfo.txt index c11727c..d58c299 100644 --- a/net.nutcore.aliddns/net.nutcore.aliddns/updateinfo.txt +++ b/net.nutcore.aliddns/net.nutcore.aliddns/updateinfo.txt @@ -1,3 +1,6 @@ +v3.8.6.4 +1NgrokѡѡʱIPַºNgrok͸ԶIPַºNgrok͸ʧЧ + v3.8.6.3 1޸IJԴ洢߼Recordid༭򣬱ɹֹ޸ļ洢RecordidһʱɵԶ³