mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-22 02:45:49 -04:00
Update Bootstrapper.cpp
This commit is contained in:
parent
799a6672ce
commit
be70700349
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue