From ed447d98fa7a4836c5260ddfced5e88d11e2a648 Mon Sep 17 00:00:00 2001 From: Sam Roxanne Date: Thu, 18 Jun 2020 15:34:28 -0500 Subject: [PATCH] wow --- .buildactions/31_installer.lua | 2 +- utils/ser.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildactions/31_installer.lua b/.buildactions/31_installer.lua index ab1cebc..35d6d22 100644 --- a/.buildactions/31_installer.lua +++ b/.buildactions/31_installer.lua @@ -6,7 +6,7 @@ function actions.installer() 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/lang/"..line) + os.execute("luacomp installer_dat/lang/"..line.." -O pkg/installer_dat/lang/"..line) end h:close() makeselfextract("pkg", "release/zorya-neo-installer.lua") diff --git a/utils/ser.lua b/utils/ser.lua index da4db22..82d5202 100644 --- a/utils/ser.lua +++ b/utils/ser.lua @@ -231,7 +231,7 @@ local bios_files = load("return "..getfile("installer_dat/bios_list.lua"))() setBar(33) local pkg_files = load("return "..getfile("installer_dat/package_list.lua"))() 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) setStatus("Extracting files...")