From 218741e6bee08b68814c9694c2645fc9013252a9 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 ++++++++++++++++ .../net.nutcore.aliddns/updateinfo.txt | 5 ++++- 2 files changed, 20 insertions(+), 1 deletion(-) 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/updateinfo.txt b/net.nutcore.aliddns/net.nutcore.aliddns/updateinfo.txt index 162e1fb..0da2461 100644 --- a/net.nutcore.aliddns/net.nutcore.aliddns/updateinfo.txt +++ b/net.nutcore.aliddns/net.nutcore.aliddns/updateinfo.txt @@ -1,6 +1,9 @@ -v3.8.6.4 +v3.8.6.5 1ngrok https͸ +v3.8.6.4 +1NgrokѡѡʱIPַºNgrok͸ԶIPַºNgrok͸ʧЧ + v3.8.6.3 1޸IJԴ洢߼Recordid༭򣬱ɹֹ޸ļ洢RecordidһʱɵԶ³