feat(updater): changed size check to time check

This commit is contained in:
2021-11-14 14:05:24 +01:00
parent fec62d5961
commit a775a9e4c8
2 changed files with 26 additions and 9 deletions

View File

@@ -2,6 +2,8 @@
#include "misc/DataBuffer.h"
#include <ctime>
namespace td {
namespace utils {
@@ -30,7 +32,7 @@ public:
static void removeOldFile();
private:
std::string getDownloadFileURL();
std::uint32_t getLocalFileSize();
std::time_t getLocalFileTimeStamp();
};
} // namespace utils