Remove unused code

This commit is contained in:
Tixx 2024-10-20 16:57:47 +02:00
parent 9dbbd8298d
commit 708da44fec
3 changed files with 0 additions and 16 deletions

View File

@ -17,5 +17,4 @@ public:
static void StartProxy(); static void StartProxy();
public: public:
static bool isDownload; static bool isDownload;
static inline bool SkipSslVerify = false;
}; };

View File

@ -232,7 +232,6 @@ void LinuxPatch() {
void InitLauncher() { void InitLauncher() {
SetConsoleTitleA(("BeamMP Launcher v" + std::string(GetVer()) + GetPatch()).c_str()); SetConsoleTitleA(("BeamMP Launcher v" + std::string(GetVer()) + GetPatch()).c_str());
InitLog();
CheckName(); CheckName();
LinuxPatch(); LinuxPatch();
CheckLocalKey(); CheckLocalKey();

View File

@ -38,22 +38,8 @@ int main(int argc, const char** argv) try {
curl_global_init(CURL_GLOBAL_ALL); curl_global_init(CURL_GLOBAL_ALL);
#if defined(_WIN32)
system("cls");
#elif defined(__linux__)
system("clear");
#endif
GetEP(argv[0]); GetEP(argv[0]);
for (int i = 0; i < argc; ++i) {
if (std::string_view(argv[i]) == "--skip-ssl-verify") {
info("SSL verification skip enabled");
HTTP::SkipSslVerify = true;
}
}
InitLog(); InitLog();
InitOptions(argc, argv, options); InitOptions(argc, argv, options);
InitLauncher(); InitLauncher();