1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 18:25:16 +01:00

Make GetCurrentExecutableDirectory public (#12791)

This commit is contained in:
Michał Janiszewski
2020-08-27 21:03:41 +02:00
committed by GitHub
parent db8efe20d0
commit c6b10bb051
2 changed files with 2 additions and 1 deletions

View File

@@ -144,7 +144,7 @@ namespace Platform
}
}
static std::string GetCurrentExecutableDirectory()
std::string GetCurrentExecutableDirectory()
{
auto exePath = GetCurrentExecutablePath();
auto exeDirectory = Path::GetDirectory(exePath);

View File

@@ -33,6 +33,7 @@ namespace Platform
std::string GetInstallPath();
std::string GetDocsPath();
std::string GetCurrentExecutablePath();
std::string GetCurrentExecutableDirectory();
bool FileExists(const std::string path);
rct2_time GetTimeLocal();
rct2_date GetDateLocal();