From 281f8feabffd69928a0a0f08aa31f70b36f5e6bd Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 3 Nov 2018 21:11:41 +0800 Subject: =?UTF-8?q?*=E5=A2=9E=E5=8A=A0=E6=B8=B8=E6=88=8F=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lua/embed/boot.lua.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lua/embed/boot.lua.h') diff --git a/src/lua/embed/boot.lua.h b/src/lua/embed/boot.lua.h index 212a1e5..2369b0f 100644 --- a/src/lua/embed/boot.lua.h +++ b/src/lua/embed/boot.lua.h @@ -1,8 +1,8 @@ /* boot.lua */ static const char* boot_lua = R"( -jin.args[2] = jin.args[2] or '.' +local cwd = jin.args['cwd'] or '.' jin.filesystem.init() -jin.filesystem.mount(jin.args[2]) +jin.filesystem.mount(cwd) ------------------------------------------------------------------------- -- Config game -- cgit v1.1-26-g67d0