From 34e25ebda57a7f5a4f28d0ff923ae27daf5c68b2 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 6 Mar 2019 15:04:04 -0500 Subject: Another big change! --- system/post-setup.lua | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'system/post-setup.lua') diff --git a/system/post-setup.lua b/system/post-setup.lua index 9328a58..78a80d1 100644 --- a/system/post-setup.lua +++ b/system/post-setup.lua @@ -13,6 +13,10 @@ GNU General Public License for more details. ]]-- +--local passwd = read() +--local passPath = "/etc/passwd.pwd" +os.loadAPI("/system/apis/sha256.lua") + term.clear() term.setCursorPos(1,1) term.setTextColor(colors.white) @@ -27,7 +31,13 @@ else print("[ERROR] Unable to find README.txt...") end -print("Welcome to the setup!") +if fs.exists("/system/skel/.background") then + shell.run("copy", "/system/skel/.background", "/home") +else + print("[ERROR] Unable to find the background...") +end + +--print("Welcome to the setup! This feature will be not be in Alpha 2") -sleep(3) +sleep(1) shell.run("/system/desktop.lua") \ No newline at end of file -- cgit v1.2.3