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
80a3feb349
commit
a06470cb70
@ -205,13 +205,6 @@ void LegitimacyCheck() {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (GameDir.empty()) {
|
|
||||||
// Check if user is using Snap, which can't be located from libraryFolders...
|
|
||||||
const std::string snapPath =
|
|
||||||
homeDir + "/snap/steam/common/.local/share/Steam/steamapps/common/BeamNG.drive/";
|
|
||||||
|
|
||||||
if (std::filesystem::exists(snapPath)) GameDir = snapPath;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
std::string CheckVer(const std::string& dir) {
|
std::string CheckVer(const std::string& dir) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user