From 3961c372ea01f5b9a151bf3ff891602ae0d347d8 Mon Sep 17 00:00:00 2001 From: Andrew D. France Date: Tue, 22 Jul 2025 20:23:07 -0500 Subject: Added compat53 to init block: added .gitmodules init to install.sh --- install.sh | 3 +++ src/lush.c | 1 + 2 files changed, 4 insertions(+) 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); -- cgit v1.2.3-59-g8ed1b