Skip to content

Commit

Permalink
Maintenance (#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shchvova committed Oct 15, 2023
1 parent 276067a commit a6f206d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions librtt/Rtt_LuaContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,13 @@ LuaContext::InitializeLuaPath( lua_State* L, const MPlatform& platform )
sysResourceDir.GetString(), coronaCardsFrameworksDir, lua_tostring( L, -1 ) );
++numPushed;
#endif
#if defined( Rtt_MAC_ENV )
std::string res = absoluteBase.GetString();
res = res.substr(0, res.find_last_of("/"));
lua_pushfstring( L, "%s" LUA_DIRSEP "%s" LUA_DIRSEP LUA_PATH_MARK "." Rtt_LUA_C_MODULE_FILE_EXTENSION LUA_PATHSEP "%s",
res.c_str(), "Frameworks", lua_tostring( L, -1 ) );
++numPushed;
#endif

// Prepend pluginsBaseDir
if ( pluginsBaseStr )
Expand Down

0 comments on commit a6f206d

Please sign in to comment.