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 d053f8ba23
commit 3b3ae419a7
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 "";
}