alpha p2
This commit is contained in:
@@ -108,6 +108,18 @@ func loadLua(luaDir string, entry string, cfg *config.MyConfig) (string, error)
|
||||
return 1
|
||||
})
|
||||
|
||||
L.PreloadModule("core.symbol", func(L *lua.LState) int {
|
||||
data, err := config.Core.ReadFile("core/symbol.lua")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
if err := L.DoString(string(data)); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
L.Push(L.Get(-1))
|
||||
return 1
|
||||
})
|
||||
|
||||
L.PreloadModule("fes", func(L *lua.LState) int {
|
||||
mod := L.NewTable()
|
||||
coreModules := []string{}
|
||||
|
||||
Reference in New Issue
Block a user