Add option to remove splash on startup #10

Closed
hugeblank wants to merge 1 commits from show-boot into develop-1.8

View File

@@ -117,6 +117,16 @@ local function splash()
term.write(str) term.write(str)
end end
local doSplash = true
if settings then
doSplash = settings.get('opus.show_splash')
if doSplash == nil then
doSplash = true
settings.set('opus.show_splash', true)
settings.save('.settings')
end
end
if doSplash then
term.clear() term.clear()
splash() splash()
@@ -135,6 +145,7 @@ while true do
break break
end end
end end
end
term.clear() term.clear()
term.setCursorPos(1, 1) term.setCursorPos(1, 1)