Update Bootstrapper.cpp

This commit is contained in:
alk 2023-05-01 15:16:29 +03:00 committed by GitHub
parent 799a6672ce
commit be70700349
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
}