MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / GetCurrentExecutableDirectory

Function GetCurrentExecutableDirectory

src/openrct2/platform/Platform.Win32.cpp:135–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133 }
134
135 std::string GetCurrentExecutableDirectory()
136 {
137 auto exePath = GetCurrentExecutablePath();
138 auto exeDirectory = Path::GetDirectory(exePath);
139 return exeDirectory;
140 }
141
142 std::string GetInstallPath()
143 {

Callers 2

GetInstallPathFunction · 0.85
GetDocsPathFunction · 0.85

Calls 2

GetDirectoryFunction · 0.85
GetCurrentExecutablePathFunction · 0.70

Tested by

no test coverage detected