Make sure local path includes trailing slash

Launcher assumes it does
This commit is contained in:
capostrophic 2019-08-08 17:06:27 +03:00
parent e03e4495e6
commit 7b6af4a893
2 changed files with 2 additions and 2 deletions

View file

@ -87,7 +87,7 @@ boost::filesystem::path LinuxPath::getLocalPath() const
{
if (readlink(path, &binPath[0], binPath.size()) != -1)
{
localPath = boost::filesystem::path(binPath).parent_path();
localPath = boost::filesystem::path(binPath).parent_path() / "/";
break;
}
}