aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Andrew D. France 2025-07-22 20:23:07 -0500
committerGravatar Andrew D. France 2025-07-22 20:23:07 -0500
commit3961c372ea01f5b9a151bf3ff891602ae0d347d8 (patch)
treef82104fb668ea4a7084f1a47d9e449aab1898172
parentDelete et (diff)
Added compat53 to init block: added .gitmodules init to install.sh
-rwxr-xr-xinstall.sh3
-rw-r--r--src/lush.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index ebdbaeb..405cf6e 100755
--- a/install.sh
+++ b/install.sh
@@ -1,5 +1,8 @@
#!/bin/sh
+echo "Initializing and updating submodules..."
+git submodule update --init --recursive
+
# Function to install packages using apt (Debian/Ubuntu)
install_with_apt() {
sudo apt-get update
diff --git a/src/lush.c b/src/lush.c
index cadc1bc..49b205e 100644
--- a/src/lush.c
+++ b/src/lush.c
@@ -1489,6 +1489,7 @@ int main(int argc, char *argv[]) {
// init lua state
lua_State *L = luaL_newstate();
luaL_openlibs(L);
+ luaopen_compat53(L);
lua_register_api(L);
lua_run_init(L);