diff --git a/FirehoseFinder.csproj b/FirehoseFinder.csproj
index ee3183a..79180f5 100644
--- a/FirehoseFinder.csproj
+++ b/FirehoseFinder.csproj
@@ -38,7 +38,7 @@
false
true
0
- 24.8.4.0
+ 24.8.5.0
false
true
true
diff --git a/Forms/Form1.cs b/Forms/Form1.cs
index 308cff1..9e09116 100644
--- a/Forms/Form1.cs
+++ b/Forms/Form1.cs
@@ -104,27 +104,26 @@ private void Formfhf_Load(object sender, EventArgs e)
//Проверяем актуальность БД на сервере и локально
if (Settings.Default.update_db == true)
{
- string distr_ver = Application.ProductVersion.Replace('.', '_');
- string distr_path = @"https://fhf.yggno.de/Application%20Files/FirehoseFinder_" + distr_ver + "/";
- HttpWebRequest filter_wrq = (HttpWebRequest)WebRequest.Create(Path.Combine(distr_path, "ForFilter.xml.deploy"));
+ string distr_path = @"https://fhf.yggno.de/db/";
+ HttpWebRequest filter_wrq = (HttpWebRequest)WebRequest.Create(Path.Combine(distr_path, "ForFilter.xml"));
HttpWebResponse filter_wrs = (HttpWebResponse)filter_wrq.GetResponse();
DateTime filter_dt = filter_wrs.LastModified;
filter_wrs.Close();
- HttpWebRequest found_wrq = (HttpWebRequest)WebRequest.Create(Path.Combine(distr_path, "ForFound.xml.deploy"));
+ HttpWebRequest found_wrq = (HttpWebRequest)WebRequest.Create(Path.Combine(distr_path, "ForFound.xml"));
HttpWebResponse found_wrs = (HttpWebResponse)found_wrq.GetResponse();
DateTime found_dt = found_wrs.LastModified;
found_wrs.Close();
- //Если на сервере дата больше, чем локально, то копируем деплой с переименованием в xml
+ //Если на сервере дата больше, чем локально, то копируем
if (filter_dt > File.GetLastWriteTime("ForFilter.xml"))
{
WebClient filter_wc = new WebClient();
- filter_wc.DownloadFile(Path.Combine(distr_path, "ForFilter.xml.deploy"), "ForFilter.xml");
+ filter_wc.DownloadFile(Path.Combine(distr_path, "ForFilter.xml"), "ForFilter.xml");
filter_wc.Dispose();
}
if (found_dt > File.GetLastWriteTime("ForFound.xml"))
{
WebClient found_wc = new WebClient();
- found_wc.DownloadFile(Path.Combine(distr_path, "ForFound.xml.deploy"), "ForFound.xml");
+ found_wc.DownloadFile(Path.Combine(distr_path, "ForFound.xml"), "ForFound.xml");
found_wc.Dispose();
}
}
diff --git a/Forms/Form1.resx b/Forms/Form1.resx
index dba1c0b..a358d95 100644
--- a/Forms/Form1.resx
+++ b/Forms/Form1.resx
@@ -437,7 +437,7 @@
NoControl
- 3, 604
+ 3, 602
394, 14
@@ -539,7 +539,7 @@
Выход
- 59, 24
+ 59, 26
Файл
@@ -596,7 +596,7 @@
Поделиться программером
- 49, 24
+ 49, 26
Вид
@@ -626,7 +626,7 @@
Извлечь сертификаты
- 117, 24
+ 117, 26
Инструменты
@@ -644,7 +644,7 @@
О программе
- 81, 24
+ 81, 26
Справка
@@ -653,7 +653,7 @@
0, 0
- 1369, 28
+ 1369, 30
1
@@ -1902,7 +1902,7 @@ _HASH
Vertical
- 388, 514
+ 388, 512
1
@@ -1926,7 +1926,7 @@ _HASH
3, 3
- 394, 535
+ 394, 533
7
@@ -2160,7 +2160,7 @@ _HASH
3, 133
- 923, 423
+ 923, 421
7
@@ -2259,7 +2259,7 @@ _HASH
3
- 929, 559
+ 929, 557
8
@@ -2286,7 +2286,7 @@ _HASH
3, 3, 3, 3
- 935, 565
+ 935, 563
0
@@ -3717,7 +3717,7 @@ _HASH
3, 18
- 943, 594
+ 943, 592
0
@@ -3741,7 +3741,7 @@ _HASH
403, 3
- 949, 615
+ 949, 613
8
@@ -3831,7 +3831,7 @@ _HASH
Fill
- 3, 544
+ 3, 542
394, 54
@@ -3864,7 +3864,7 @@ _HASH
3
- 1355, 621
+ 1355, 619
8
@@ -3891,7 +3891,7 @@ _HASH
3, 3, 3, 3
- 1361, 627
+ 1361, 625
2
@@ -3915,13 +3915,13 @@ _HASH
Fill
- 0, 28
+ 0, 30
3, 2, 3, 2
- 1369, 656
+ 1369, 654
0
diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs
index 8ec45ed..55e16a5 100644
--- a/Properties/AssemblyInfo.cs
+++ b/Properties/AssemblyInfo.cs
@@ -32,6 +32,6 @@
// Можно задать все значения или принять номера сборки и редакции по умолчанию
// используя "*", как показано ниже:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("24.8.4.0")]
-[assembly: AssemblyFileVersion("24.8.4.0")]
+[assembly: AssemblyVersion("24.8.5.0")]
+[assembly: AssemblyFileVersion("24.8.5.0")]
[assembly: NeutralResourcesLanguage("ru-RU")]