Fixed auto updater, now will just promt if you want to update if the local file is older than the last github commit

This commit is contained in:
IMXNOOBX
2023-09-30 12:51:08 +02:00
parent e8bcd2f2c8
commit a9a2933fb2
3 changed files with 27 additions and 18 deletions
+1
View File
@@ -95,6 +95,7 @@ int main() {
} while (hack::base_module.base == 0);
std::cout << "[overlay] Waiting to focus game to create the overlay..." << std::endl;
std::cout << "[overlay] Make sure your game is in \"Full Screen Windowed\"" << std::endl;
while (GetForegroundWindow() != hack::process->hwnd_) {
std::this_thread::sleep_for(std::chrono::seconds(1));
hack::process->UpdateHWND();