Skip to content

Commit

Permalink
Merge pull request #91 from FS-Online/bugfix
Browse files Browse the repository at this point in the history
Fix 'settings.json not found' on windows.
  • Loading branch information
SijmenHuizenga authored Jun 7, 2020
2 parents f3f40b3 + b4f15a2 commit 2bdfa50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AirSim/AirLib/include/common/common_utils/FileSystem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class FileSystem

static std::string getConfigFilePath()
{
return combine(getUserHomeFolder(), "Formula-Student-Driverless-Simulator/settings.json");
return combine(combine(getUserHomeFolder(), "Formula-Student-Driverless-Simulator"), "settings.json");
}

static std::string getLogFileNamePath(const std::string& fullPath, const std::string& prefix, const std::string& suffix, const std::string& extension,
Expand Down

0 comments on commit 2bdfa50

Please sign in to comment.