mirror of
https://github.com/Adorable-Catgirl/Zorya-NEO.git
synced 2024-11-30 22:28:06 +11:00
15 lines
358 B
Lua
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
|