Commit 4655ba95 authored by Danny SMc's avatar Danny SMc 🎧

Added compatibility with Logo!

parent 55ba63df
......@@ -15,16 +15,22 @@ os.pullEvent = os.pullEventRaw
function boot() -- Recoded
-- Check for API
if fs.exists("uapi") == false then
print("> Downloading API and splash...")
print("> Downloading API...")
getGit = http.get("https://raw.github.com/dannysmc95/uprograms/master/uAPI")
getSplash = http.get("https://raw.github.com/dannysmc95/uprograms/master/uOSSplash")
getGit = getGit.readAll()
getSplash = getSplash.readAll()
file = fs.open("uapi", "w")
file2 = fs.open("splash", "w")
file.write(getGit)
file2.write(getSplash)
file.close()
print("Done!")
end
-- checks for splash
if fs.exists("splash") == false then
print("> Downloading splash...")
getSplash = http.get("https://raw.github.com/dannysmc95/uprograms/master/uOSSplash")
getSplash = getSplash.readAll()
file2 = fs.open("splash", "w")
file2.write(getSplash)
file2.close()
print("Done!")
end
......@@ -37,7 +43,7 @@ function boot() -- Recoded
uapi.printC("uOS - created By DannySMc", 1, false, "white", "cyan")
uapi.printC(">> Boot Sequence <<", 2, false, "white", "cyan")
splash = paintutils.loadImage("splash")
paintutils.drawImage(splash, 18, 4)
paintutils.drawImage(splash, 6, 4)
uapi.drawBox(1, 51, 15, 1, " ", "white", "cyan")
-- Create startup file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment