diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-11-16 17:15:36 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-11-16 17:15:36 -0500 |
| commit | 3e13eb0a455dcf7e4f25c522b028826930d84aaa (patch) | |
| tree | 588bd366eed3b988b5645d4e5cb37886ea7c0231 /startup.lua | |
| parent | 53e4faeef243c8e229b29012a8031878d7ba666a (diff) | |
| download | bits-UI-3e13eb0a455dcf7e4f25c522b028826930d84aaa.tar.gz bits-UI-3e13eb0a455dcf7e4f25c522b028826930d84aaa.tar.bz2 bits-UI-3e13eb0a455dcf7e4f25c522b028826930d84aaa.zip | |
You can disable that message from code
Diffstat (limited to 'startup.lua')
| -rw-r--r-- | startup.lua | 6 |
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) |
