mirror of https://github.com/Hilbis/Hilbish
fix: add back dataDir field to hilbish module
parent
7d9d3e4d72
commit
1e76b1501f
|
@ -35,6 +35,7 @@ func HilbishLoader(L *lua.LState) int {
|
||||||
L.SetField(mod, "user", lua.LString(username))
|
L.SetField(mod, "user", lua.LString(username))
|
||||||
L.SetField(mod, "host", lua.LString(host))
|
L.SetField(mod, "host", lua.LString(host))
|
||||||
L.SetField(mod, "home", lua.LString(homedir))
|
L.SetField(mod, "home", lua.LString(homedir))
|
||||||
|
L.SetField(mod, "dataDir", lua.LString(dataDir))
|
||||||
|
|
||||||
xdg := L.NewTable()
|
xdg := L.NewTable()
|
||||||
L.SetField(xdg, "config", lua.LString(confDir))
|
L.SetField(xdg, "config", lua.LString(confDir))
|
||||||
|
|
Loading…
Reference in New Issue