feat(updater): changed size check to time check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user