This commit is contained in:
2025-11-28 21:12:57 -05:00
parent 705911ac9d
commit 8f16e257bb
17 changed files with 269 additions and 264 deletions

View File

@@ -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{}