diff options
author | p0358 <p0358@users.noreply.github.com> | 2022-09-19 01:56:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-19 01:56:21 +0200 |
commit | 5dd0949213203572109d95daa934d113832525a7 (patch) | |
tree | 3c4be1449d6d909d0687312ea8fb86077433f044 /loader_launcher_proxy/dllmain.cpp | |
parent | 70fbe2b88495d7239a972a4fd209ee68477eb2fa (diff) | |
download | NorthstarLauncher-5dd0949213203572109d95daa934d113832525a7.tar.gz NorthstarLauncher-5dd0949213203572109d95daa934d113832525a7.zip |
Set current directory properly (#275)
Diffstat (limited to 'loader_launcher_proxy/dllmain.cpp')
-rw-r--r-- | loader_launcher_proxy/dllmain.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/loader_launcher_proxy/dllmain.cpp b/loader_launcher_proxy/dllmain.cpp index a382bc97..06abb7b2 100644 --- a/loader_launcher_proxy/dllmain.cpp +++ b/loader_launcher_proxy/dllmain.cpp @@ -128,6 +128,8 @@ extern "C" __declspec(dllexport) int LauncherMain(HINSTANCE hInstance, HINSTANCE return 1; } + SetCurrentDirectoryW(exePath); + bool loadNorthstar = ShouldLoadNorthstar(); if (loadNorthstar) |