Addon; Determine proper full path for 'executable' addon

This commit is contained in:
Daniel Marjamäki 2021-10-15 11:16:15 +02:00
parent 876702c4f2
commit fc8ab1b3af
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ namespace {
if (obj.count("executable")) {
if (!obj["executable"].is<std::string>())
return "Loading " + fileName + " failed. executable must be a string.";
executable = obj["executable"].get<std::string>();
executable = getFullPath(obj["executable"].get<std::string>(), exename);
return "";
}