- Executable Path in OpenDingux is exe name alone. Set "." instead

This commit is contained in:
2022-12-01 20:02:12 +01:00
parent 4cbe55c2d4
commit 80e91e7acd

View File

@@ -4,7 +4,11 @@
// Constructor // Constructor
Asset::Asset(std::string executablePath) Asset::Asset(std::string executablePath)
{ {
#ifdef __MIPSEL
this->executablePath = ".";
#else
this->executablePath = executablePath.substr(0, executablePath.find_last_of("\\/")); this->executablePath = executablePath.substr(0, executablePath.find_last_of("\\/"));
#endif
longestName = 0; longestName = 0;
verbose = true; verbose = true;
} }