mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-10-27 14:40:17 +00:00
Update src/Security/BeamNG.cpp
Co-authored-by: Tixx <83774803+WiserTixx@users.noreply.github.com>
This commit is contained in:
1 parent
ebf1579ce4
commit
89327b8e20
1 file changed
+2
-1
@@ -191,7 +191,8 @@ void LegitimacyCheck() {
|
|||||||
std::string libraryFoldersPath;
|
std::string libraryFoldersPath;
|
||||||
bool libraryFoldersFound = false;
|
bool libraryFoldersFound = false;
|
||||||
for (const std::string& path : steamappsCommonPaths) {
|
for (const std::string& path : steamappsCommonPaths) {
|
||||||
std::string fullPath = path + "/libraryfolders.vdf";
|
std::string fullPath = homeDir + path + "/libraryfolders.vdf";
|
||||||
|
|
||||||
if (std::filesystem::exists(fullPath)) {
|
if (std::filesystem::exists(fullPath)) {
|
||||||
libraryFoldersPath = fullPath;
|
libraryFoldersPath = fullPath;
|
||||||
libraryFoldersFound = true;
|
libraryFoldersFound = true;
|
||||||
|
|||||||
Reference in new issue
Block a user