Merge branch 'develop' into refactor-scripts-stuff

This commit is contained in:
Edo
2022-02-01 15:25:54 +01:00
committed by GitHub
41 changed files with 466 additions and 791 deletions

View File

@ -107,6 +107,7 @@ namespace Utils
void SetEnvironment()
{
wchar_t exeName[512];
GetModuleFileNameW(GetModuleHandleW(nullptr), exeName, sizeof(exeName) / sizeof(wchar_t));
wchar_t* exeBaseName = wcsrchr(exeName, L'\\');