1
0
mirror of https://github.com/Adorable-Catgirl/Zorya-NEO.git synced 2024-11-23 18:58:06 +11:00
Zorya-NEO/util/OpenOS/config.d/00_includes.lua
2020-03-19 15:50:37 -05:00

15 lines
358 B
Lua

local cfgadd = ...
local addr = require("component").eeprom.getData()
print("Zorya NEO is installed at "..addr)
cfgadd([[
local menu = loadmod("menu_classic")
]])
if (_ZLOADER == "managed") then
cfgadd(string.format([[
do
local sp = loadmod("util_searchpaths")
sp.add_mod_path("%s", ".zy2/mods")
sp.add_lib_path("%s", ".zy2/lib")
end
]], addr, addr))
end