1
0
mirror of https://github.com/Adorable-Catgirl/Zorya-NEO.git synced 2024-11-23 18:58:06 +11:00
This commit is contained in:
Sam Roxanne 2020-06-18 15:34:28 -05:00
parent 1ffba24166
commit ed447d98fa
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ function actions.installer()
os.execute("mkdir -p pkg/installer_dat/lang") os.execute("mkdir -p pkg/installer_dat/lang")
local h = io.popen("ls installer_dat/lang | grep lua", "r") local h = io.popen("ls installer_dat/lang | grep lua", "r")
for line in h:lines() do for line in h:lines() do
os.execute("luacomp installer_dat/lang/"..line.." -O pkg/lang/"..line) os.execute("luacomp installer_dat/lang/"..line.." -O pkg/installer_dat/lang/"..line)
end end
h:close() h:close()
makeselfextract("pkg", "release/zorya-neo-installer.lua") makeselfextract("pkg", "release/zorya-neo-installer.lua")

View File

@ -231,7 +231,7 @@ local bios_files = load("return "..getfile("installer_dat/bios_list.lua"))()
setBar(33) setBar(33)
local pkg_files = load("return "..getfile("installer_dat/package_list.lua"))() local pkg_files = load("return "..getfile("installer_dat/package_list.lua"))()
setBar(67) setBar(67)
local lang = load("return "..getfile("installer_dat/lang/en_US.lua"))() local lang = load("return "..(getfile("installer_dat/lang/en_US.lua") or "{}"))()
setBar(100) setBar(100)
setStatus("Extracting files...") setStatus("Extracting files...")