1
0
mirror of https://github.com/Adorable-Catgirl/Zorya-NEO.git synced 2024-09-21 10:48:50 +10:00
Zorya-NEO/.buildactions/31_installer.lua
Sam Roxanne ed447d98fa wow
2020-06-18 15:34:28 -05:00

15 lines
581 B
Lua

function actions.installer()
os.execute("cp utils/ser.lua pkg/init.lua")
os.execute("mkdir -p pkg/installer_dat")
os.execute("cp installer_dat/bios_list.lua pkg/installer_dat")
os.execute("cp installer_dat/package_list.lua pkg/installer_dat")
os.execute("mkdir -p pkg/installer_dat/lang")
local h = io.popen("ls installer_dat/lang | grep lua", "r")
for line in h:lines() do
os.execute("luacomp installer_dat/lang/"..line.." -O pkg/installer_dat/lang/"..line)
end
h:close()
makeselfextract("pkg", "release/zorya-neo-installer.lua")
end
actions[#actions+1] = "installer"