Small edits

This commit is contained in:
Anonymous275
2022-07-22 23:00:25 +03:00
parent c1ed5184e7
commit 16c8f0a052
7 changed files with 8 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ add_executable(${PROJECT_NAME}
#src/gui/Gui.cpp
include/Json.h
src/gui/gifs.cpp src/gui/gifs.h
src/Network/Http.cpp include/Http.h
src/Network/HttpAPI.cpp include/HttpAPI.h
src/Network/Server.cpp include/Server.h
src/Network/Login.cpp src/Network/Update.cpp
src/Network/Compressor.cpp include/Compressor.h

View File

@@ -7,8 +7,9 @@
#include "Memory/Memory.h"
#include "Memory/BeamNG.h"
#include "Launcher.h"
#include "HttpAPI.h"
#include "Logger.h"
#include "Http.h"
void Launcher::HandleIPC(const std::string& Data) {
char Code = Data.at(0), SubCode = 0;

View File

@@ -8,7 +8,7 @@
#include "Launcher.h"
#include "Logger.h"
#include <csignal>
#include "Http.h"
#include "HttpAPI.h"
#include <windows.h>
#include <shellapi.h>
#include <ShlObj.h>
@@ -125,6 +125,7 @@ void Launcher::WaitForGame() {
std::this_thread::sleep_for(std::chrono::seconds(2));
}
LOG(INFO) << "Game process was lost";
GamePID = 0;
}
void Launcher::ListenIPC() {

View File

@@ -5,10 +5,10 @@
#define CPPHTTPLIB_OPENSSL_SUPPORT
#include <cpp-httplib/httplib.h>
#include "Launcher.h"
#include "HttpAPI.h"
#include <iostream>
#include "Logger.h"
#include <fstream>
#include "Http.h"
#include <mutex>
#include <cmath>

View File

@@ -4,8 +4,8 @@
///
#include "Launcher.h"
#include "HttpAPI.h"
#include "Logger.h"
#include "Http.h"
#include "Json.h"
void UpdateKey(const std::string& newKey){

View File

@@ -4,8 +4,8 @@
///
#include "Launcher.h"
#include "HttpAPI.h"
#include "Logger.h"
#include "Http.h"
#include "Json.h"
VersionParser::VersionParser(const std::string &from_string) {