Addon; Determine proper full path for 'executable' addon
This commit is contained in:
parent
d053f8ba23
commit
3b3ae419a7
|
@ -131,7 +131,7 @@ namespace {
|
||||||
if (obj.count("executable")) {
|
if (obj.count("executable")) {
|
||||||
if (!obj["executable"].is<std::string>())
|
if (!obj["executable"].is<std::string>())
|
||||||
return "Loading " + fileName + " failed. executable must be a 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 "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue