aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-11-16 17:15:36 -0500
committerAndrew Lee <alee14498@protonmail.com>2020-11-16 17:15:36 -0500
commit3e13eb0a455dcf7e4f25c522b028826930d84aaa (patch)
tree588bd366eed3b988b5645d4e5cb37886ea7c0231
parent53e4faeef243c8e229b29012a8031878d7ba666a (diff)
downloadbits-UI-3e13eb0a455dcf7e4f25c522b028826930d84aaa.tar.gz
bits-UI-3e13eb0a455dcf7e4f25c522b028826930d84aaa.tar.bz2
bits-UI-3e13eb0a455dcf7e4f25c522b028826930d84aaa.zip
You can disable that message from code
-rw-r--r--startup.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/startup.lua b/startup.lua
index 81b8daa..ffd6a54 100644
--- a/startup.lua
+++ b/startup.lua
@@ -1,4 +1,7 @@
+local welcomeMessage = true
+
if fs.exists("/boot/ccboot/boot.lua") then
+ if welcomeMessage == true then
term.clear()
term.setCursorPos(1,1)
term.setBackgroundColor(colours.white)
@@ -8,6 +11,9 @@ if fs.exists("/boot/ccboot/boot.lua") then
term.setBackgroundColor(colours.black)
term.setTextColor(colours.white)
shell.run("boot/ccboot/boot.lua");
+ else
+ shell.run("boot/ccboot/boot.lua");
+ end
else
term.clear()
term.setCursorPos(1,1)