From ab94bab7e3d45b58084388b0cd5d247790a00005 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 5 Mar 2019 21:26:26 -0500 Subject: Readme will now be in the documents folder --- system/post-setup.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'system/post-setup.lua') diff --git a/system/post-setup.lua b/system/post-setup.lua index 4eb3712..9328a58 100644 --- a/system/post-setup.lua +++ b/system/post-setup.lua @@ -17,16 +17,16 @@ term.clear() term.setCursorPos(1,1) term.setTextColor(colors.white) +fs.makeDir("/home/Documents") +fs.makeDir("/home/Downloads") +fs.makeDir("/home/Pictures") + if fs.exists("/system/skel/README.txt") then - shell.run("copy", "/system/skel/README.txt", "/home") + shell.run("copy", "/system/skel/README.txt", "/home/Documents") else print("[ERROR] Unable to find README.txt...") end -fs.makeDir("/home/Documents") -fs.makeDir("/home/Downloads") -fs.makeDir("/home/Pictures") - print("Welcome to the setup!") sleep(3) -- cgit v1.2.3