diff options
author | chai <chaifix@163.com> | 2018-12-20 19:52:11 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-12-20 19:52:11 +0800 |
commit | 2ff05671bd7c44d22ffec649b166e48270e412fc (patch) | |
tree | ec089c445c76fe357fd4cfdf78012b5eaa18bab4 /src/libjin-lua/embed/scripts/path.lua | |
parent | ee8ef0433e36bf354a717bd4af679a0a5af2e6be (diff) |
*修改embed script载入方式
Diffstat (limited to 'src/libjin-lua/embed/scripts/path.lua')
-rw-r--r-- | src/libjin-lua/embed/scripts/path.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libjin-lua/embed/scripts/path.lua b/src/libjin-lua/embed/scripts/path.lua index f7e1ec3..ede7f62 100644 --- a/src/libjin-lua/embed/scripts/path.lua +++ b/src/libjin-lua/embed/scripts/path.lua @@ -1,5 +1,4 @@ -/* path.lua */ -static const char* path_lua = R"( + jin.path = jin.path or {} local jp = jin.path @@ -12,5 +11,3 @@ function jin.path.full(path) local root = jin._dir .. '/' .. jin._argv[2] return root .. '/' .. path end - -)";
\ No newline at end of file |