Files
GabsPuNs-Project_Zenith_Main/Minecraft.Client/Common/Minecraft_Utils.cpp
GabsPuNs f87525a519 New File System and Cleanup some code Part 1
Trial code is almost cleaned.
Consoles are now unused.
stdafx unbloat for Minecraft.Client
2026-05-24 15:30:31 -04:00

14 lines
267 B
C++

#include "Minecraft_Utils.h"
CMinecraftUtils utils;
CMinecraftUtils::CMinecraftUtils()
{}
fs::path CMinecraftUtils::GetExeDir()
{
wchar_t szExePath[MAX_PATH] = {};
GetModuleFileNameW(nullptr, szExePath, MAX_PATH);
return fs::path(szExePath).parent_path();
}