You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,9 @@
8
8
-`LuaState.LoadMode` enum for specifying the Lua load mode: text, binary or any
9
9
-`LuaState.do_buffer` and `LuaState.load_buffer` methods for loading Lua code from possibly binary chunks
10
10
-`LuaState.package_path` and `LuaState.package_cpath` properties for accessing the value of Lua's [`package.path`](https://www.lua.org/manual/5.4/manual.html#pdf-package.path) and [`package.cpath`](https://www.lua.org/manual/5.4/manual.html#pdf-package.cpath)
11
+
-`LuaState.get_lua_exec_dir` static method to get the executable directory used to replace "!" when setting `package_path` and `package_cpath` properties.
12
+
When running in the Godot editor, it returns the globalized version of `res://` path.
13
+
Otherwise, it returns the base directory of the executable.
11
14
- Advanced project settings for setting the `LuaScriptLanguage` state's `package_path` and `package_cpath` properties
0 commit comments