Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not load then
- os.loadAPI("/load")
- end
- local logo = {
- "5555555 5 5 555555 ",
- "55 5 55555 5 555555 55555 55555",
- "55 5 5 5 5 555555 5 5 5 5 5 ",
- "55 5555 5 5 55555 5 555555 5 5 55555",
- "55 5 5 5 5 5 5 5 5 5",
- "5555555 5 5 55555 555555 555555 55555 55555",
- }
- local bar = load.init( load.LOGO_IS_LOAD, logo, 10, nil, 14, colors.red, "Starting Gliese OS...", "Gliese OS", "Created By thegreatstudio" )
- local function dostuff()
- bar:setMessage( "Loading.." )
- for i = 1, 9 do
- sleep(1)
- bar:triggerUpdate( "Loading ("..( bar:getCurrentProgress() + 1 ).."/10)..." )
- end
- bar:triggerUpdate( "Done!" )
- end
- local function dobar()
- bar:run( true )
- end
- parallel.waitForAll( dobar, dostuff )
- if fs.exists("gliese/gui") then
- shell.run("gliese/gui")
- elseif not fs.exists("gliese/gui") then
- shell.run("gliese/shell")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement