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һʱɵԶ³