From be7070034952e1953feb11bb4cc544a769a3e424 Mon Sep 17 00:00:00 2001 From: alk <45172705+altalk23@users.noreply.github.com> Date: Mon, 1 May 2023 15:16:29 +0300 Subject: [PATCH] Update Bootstrapper.cpp --- loader/launcher/windows/Bootstrapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/launcher/windows/Bootstrapper.cpp b/loader/launcher/windows/Bootstrapper.cpp index dac0e63a..0d4c72ae 100644 --- a/loader/launcher/windows/Bootstrapper.cpp +++ b/loader/launcher/windows/Bootstrapper.cpp @@ -20,7 +20,7 @@ DWORD WINAPI load(PVOID module) { std::array<TCHAR, MAX_PATH> szFileName; GetModuleFileName(NULL, szFileName.data(), MAX_PATH); - ghc::filesystem::path path(szFileName); + ghc::filesystem::path path(szFileName.data()); auto workingDir = path.parent_path(); auto updatesDir = workingDir / "geode" / "update"; auto resourcesDir = workingDir / "geode" / "resources"; @@ -67,4 +67,4 @@ BOOL WINAPI DllMain(HINSTANCE module, DWORD reason, LPVOID) { } } return TRUE; -} \ No newline at end of file +}