Fixed brain issue with the auto updater

This commit is contained in:
IMXNOOBX
2023-09-30 16:09:38 +02:00
parent e24bb1edb5
commit 322077ce93
4 changed files with 42 additions and 25 deletions
+1
View File
@@ -19,6 +19,7 @@ namespace updater {
bool check_and_update(bool prompt_update);
bool get_last_commit_date(json& commit);
bool download_file(const char* url, const char* localPath);
bool file_good(const std::string& name);
inline std::string github_repo_api = "https://api.github.com/repos/IMXNOOBX/cs2-external-esp/commits";
inline std::string raw_updated_offets = "https://github.com/IMXNOOBX/cs2-external-esp/raw/main/offsets/offsets.json";