Check hashes after downloading

This commit is contained in:
Tixx
2025-07-25 23:50:16 +02:00
parent c0ed056440
commit b9cc025083
5 changed files with 65 additions and 12 deletions

View File

@@ -11,7 +11,7 @@
#include <string>
class HTTP {
public:
static bool Download(const std::string& IP, const beammp_fs_string& Path);
static bool Download(const std::string& IP, const beammp_fs_string& Path, const std::string& Hash);
static std::string Post(const std::string& IP, const std::string& Fields);
static std::string Get(const std::string& IP);
static bool ProgressBar(size_t c, size_t t);