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:
committed by
GitHub
parent
db8efe20d0
commit
c6b10bb051
@@ -144,7 +144,7 @@ namespace Platform
|
||||
}
|
||||
}
|
||||
|
||||
static std::string GetCurrentExecutableDirectory()
|
||||
std::string GetCurrentExecutableDirectory()
|
||||
{
|
||||
auto exePath = GetCurrentExecutablePath();
|
||||
auto exeDirectory = Path::GetDirectory(exePath);
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user