diff --git a/Winform-AutoUpdate/Midea.Mes.Generate/App.config b/Winform-AutoUpdate/Midea.Mes.Generate/App.config index dcf398b..21202ae 100644 --- a/Winform-AutoUpdate/Midea.Mes.Generate/App.config +++ b/Winform-AutoUpdate/Midea.Mes.Generate/App.config @@ -9,6 +9,7 @@ + diff --git a/Winform-AutoUpdate/Midea.Mes.Generate/GenerateFrm.cs b/Winform-AutoUpdate/Midea.Mes.Generate/GenerateFrm.cs index fb645c6..3a1d43e 100644 --- a/Winform-AutoUpdate/Midea.Mes.Generate/GenerateFrm.cs +++ b/Winform-AutoUpdate/Midea.Mes.Generate/GenerateFrm.cs @@ -27,7 +27,7 @@ namespace Midea.Mes.Generate var ignoredDir = ConfigurationManager.AppSettings["IgnoredDir"]; var AdancedDay = ConfigurationManager.AppSettings["AddvancedDay"]; string version = "1.0.0.1"; - string url = "http://192.168.232.1:8090/"; + string url = ConfigurationManager.AppSettings["URL"]; string num = "1.0.0.1"; string date = Convert.ToString(DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss")); var updateFiles = GetUpdateFileModels(rootDir, version);