From 17bdda42de8701a2eafbb396802fd417ec783bc8 Mon Sep 17 00:00:00 2001 From: Mike Savochkin Date: Fri, 5 Jul 2019 17:05:44 +0600 Subject: [PATCH 1/2] Version bump --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index c968a576..d9edd15e 100644 --- a/version +++ b/version @@ -1 +1 @@ -7.3.4 +7.3.5 From 436d3f7b2ab654107570c14fbc64116823c20cae Mon Sep 17 00:00:00 2001 From: Mike Savochkin Date: Sat, 9 Nov 2019 10:15:10 +0600 Subject: [PATCH 2/2] Fixed bug with missing update file --- hub/src/updater/ExecutableUpdater.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hub/src/updater/ExecutableUpdater.cpp b/hub/src/updater/ExecutableUpdater.cpp index f6b41c06..ea633017 100644 --- a/hub/src/updater/ExecutableUpdater.cpp +++ b/hub/src/updater/ExecutableUpdater.cpp @@ -46,6 +46,10 @@ CExecutableUpdater::replace_executables(bool was_successful_downloaded) { CSystemCallWrapper::give_write_permissions(dir); do { + if (!src.exists()) { + qCritical("Source file is missins at %s", m_src_file_str.toStdString().c_str()); + break; + } if (dst.exists()) { QFile ftmp(tmp); if (ftmp.exists() && !ftmp.remove()) {