mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-03 06:16:15 +00:00
Switch to wstring for paths on windows
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "Network/network.hpp"
|
||||
#include "Security/Init.h"
|
||||
#include "Startup.h"
|
||||
#include "Utils.h"
|
||||
#include <curl/curl.h>
|
||||
#include <iostream>
|
||||
#include <thread>
|
||||
@@ -37,7 +38,7 @@ int main(int argc, const char** argv) try {
|
||||
|
||||
curl_global_init(CURL_GLOBAL_ALL);
|
||||
|
||||
GetEP(argv[0]);
|
||||
GetEP(Utils::ToWString(std::string(argv[0])).c_str());
|
||||
|
||||
InitLog();
|
||||
ConfigInit();
|
||||
|
||||
Reference in New Issue
Block a user