aboutsummaryrefslogtreecommitdiff
path: root/system/setup.lua
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@gmail.com>2019-03-05 19:26:59 -0500
committerAndrew Lee <alee14498@gmail.com>2019-03-05 19:26:59 -0500
commita18407bdb9c87ac970418cd625abe38f550ab45c (patch)
treecb40abeaef3b81dcd1cbf23304e80acf0445aed2 /system/setup.lua
parent84a82712e4e3bd6826e572e63accc0800992eb4b (diff)
downloadbits-UI-a18407bdb9c87ac970418cd625abe38f550ab45c.tar.gz
bits-UI-a18407bdb9c87ac970418cd625abe38f550ab45c.tar.bz2
bits-UI-a18407bdb9c87ac970418cd625abe38f550ab45c.zip
Added a bunch of stuff
Diffstat (limited to 'system/setup.lua')
-rw-r--r--system/setup.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/setup.lua b/system/setup.lua
new file mode 100644
index 0000000..644d0ed
--- /dev/null
+++ b/system/setup.lua
@@ -0,0 +1,14 @@
+term.clear()
+term.setCursorPos(1,1)
+term.setTextColor(colors.white)
+
+if fs.exists("/system/skel/README.txt") then
+ shell.run("copy", "/system/skel/README.txt", "/home")
+else
+ print("[ERROR] Unable to find README.txt...")
+end
+
+print("Welcome to the setup!")
+
+sleep(3)
+shell.run("/system/desktop.lua") \ No newline at end of file