fix Runtime::locate() to calculate proper runtime directory
This commit is contained in:
parent
bdd28ab362
commit
076e2a51d7
@ -9,7 +9,7 @@ namespace jes
|
|||||||
|
|
||||||
PathRef Runtime::locate(int type, const std::string & name)
|
PathRef Runtime::locate(int type, const std::string & name)
|
||||||
{
|
{
|
||||||
PathRef path = Core::instance.get_bin_path()->dirname()->join("runtime")->join(runtime_directories[type]);
|
PathRef path = Core::instance.get_bin_path()->dirname()->dirname()->join("runtime")->join(runtime_directories[type]);
|
||||||
PathRef rv = NULL;
|
PathRef rv = NULL;
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user