mirror of
https://github.com/Adorable-Catgirl/Zorya-NEO.git
synced 2024-11-23 10:48:06 +11:00
wow
This commit is contained in:
parent
1ffba24166
commit
ed447d98fa
@ -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")
|
||||||
|
@ -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...")
|
||||||
|
Loading…
Reference in New Issue
Block a user