mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-06-22 08:31:07 +00:00
Fix .git folder check and GetGamePath()
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ std::wstring GetGamePath() {
|
||||
|
||||
std::string Ver = CheckVer(GetGameDir());
|
||||
Ver = Ver.substr(0, Ver.find('.', Ver.find('.') + 1));
|
||||
Path += Utils::ToWString(Ver) + L"\\";
|
||||
(Path /= Utils::ToWString(Ver)) /= L"\\";
|
||||
return Path;
|
||||
}
|
||||
#elif defined(__linux__)
|
||||
|
||||
Reference in New Issue
Block a user