File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 185185** In Windows, any exclamation mark ('!') in the path is replaced by the
186186** path of the directory of the executable file of the current process.
187187*/
188- #define LUA_LDIR "!\\lua \\"
189- #define LUA_CDIR "! \\"
190- #define LUA_SHRDIR "!\\..\\share\\lua\\" LUA_VDIR " \\"
188+ #define LUA_LSDIR "!\\plugins\\LuaScript \\"
189+ #define LUA_CDIR LUA_LSDIR"lib \\"
190+ #define LUA_LDIR LUA_CDIR"lua \\"
191191#define LUA_PATH_DEFAULT \
192- LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;" \
193- LUA_CDIR"?.lua;" LUA_CDIR"?\\init.lua;" \
194- LUA_SHRDIR"?.lua;" LUA_SHRDIR"?\\init.lua;" \
195- ".\\?.lua;" ".\\?\\init.lua"
192+ LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;" \
193+ LUA_CDIR"?.lua;" LUA_CDIR"?\\init.lua;"
196194#define LUA_CPATH_DEFAULT \
197- LUA_CDIR"?.dll;" \
198- LUA_CDIR"..\\lib\\lua\\" LUA_VDIR "\\?.dll;" \
199- LUA_CDIR"loadall.dll;" ".\\?.dll"
195+ LUA_CDIR"?.dll;" LUA_CDIR"?\\loadall.dll;"
200196
201197#else /* }{ */
202198
You can’t perform that action at this time.
0 commit comments