mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-01 23:46:59 +00:00
Update src/Security/BeamNG.cpp
Co-authored-by: Tixx <83774803+WiserTixx@users.noreply.github.com>
This commit is contained in:
parent
ebf1579ce4
commit
89327b8e20
@ -191,7 +191,8 @@ void LegitimacyCheck() {
|
||||
std::string libraryFoldersPath;
|
||||
bool libraryFoldersFound = false;
|
||||
for (const std::string& path : steamappsCommonPaths) {
|
||||
std::string fullPath = path + "/libraryfolders.vdf";
|
||||
std::string fullPath = homeDir + path + "/libraryfolders.vdf";
|
||||
|
||||
if (std::filesystem::exists(fullPath)) {
|
||||
libraryFoldersPath = fullPath;
|
||||
libraryFoldersFound = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user