1
0
mirror of https://github.com/Adorable-Catgirl/Zorya-NEO.git synced 2024-11-30 22:28:06 +11:00
Zorya-NEO/util/OpenOS/config.d/00_includes.lua

15 lines
358 B
Lua
Raw Normal View History

2020-03-20 07:50:37 +11:00
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