mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-08-16 00:06:41 +00:00
print game's U S E R path
This commit is contained in:
parent
c95178ea59
commit
f94b9adf7a
@ -51,6 +51,7 @@ std::string GetGamePath() {
|
||||
std::string Ver = CheckVer(GetGameDir());
|
||||
Ver = Ver.substr(0, Ver.find('.', Ver.find('.') + 1));
|
||||
Path += Ver + "\\";
|
||||
info("Game user path: '" + Path + "'");
|
||||
return Path;
|
||||
}
|
||||
#elif defined(__linux__)
|
||||
@ -63,6 +64,7 @@ std::string GetGamePath() {
|
||||
std::string Ver = CheckVer(GetGameDir());
|
||||
Ver = Ver.substr(0, Ver.find('.', Ver.find('.') + 1));
|
||||
Path += Ver + "/";
|
||||
info("Game user path: '" + Path + "'");
|
||||
return Path;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user