ComputerCraft Archive

OreOS

computer operating-system unknown forum

Description

Introducing OreOS!All information (including download links) can be found here: https://silica-tech.weebly.comTo install, run the command "pastebin run HrP8HULu"the reason for the website is that I ju...

Installation

Copy one of these commands into your ComputerCraft terminal:

Pastebin:pastebin get HrP8HULu oreos
wget:wget https://pastebin.com/raw/HrP8HULu oreos
Archive:wget https://cc.shobie.xyz/cc/get/pb-HrP8HULu oreos
Quick Install: wget https://cc.shobie.xyz/cc/get/pb-HrP8HULu OreOS

Usage

Run the program after downloading

Tags

forumoperating-systems

Source

View Original Source

Code Preview

function download(url, file)
  local content = http.get(url).readAll()
  if not content then
    error("Could not connect to website")
  end
  f = fs.open(file, "w")
  f.write(content)
  f.close()
end

print(" --- OreOS Installer --- ")
print("")
textutils.slowPrint("Creating Directories...")
fs.makeDir("/System/")
fs.makeDir("/Boot/")
fs.makeDir("/System/Programs/")
fs.makeDir("/System/API/")
fs.makeDir("/System/TML/")
textutils.slowPrint("Downloading and Installing Files...")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/startup", "/startup")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/firstBoot", "/firstBoot")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/TitaniumLicense.md", "/TitaniumLicense.md")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/Boot/CraftOS", "/Boot/CraftOS")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/Boot/OreBoot", "/Boot/OreBoot")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/Boot/OreBootTML.tml", "/Boot/OreBootTML.tml")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/Boot/OreOS", "/Boot/OreOS")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/Boot/bootcfg", "/Boot/bootcfg")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/System/Main", "/System/Main")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/System/TML/setup.tml", "/System/TML/setup.tml")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/System/TML/settings.tml", "/System/TML/settings.tml")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/System/TML/login.tml", "/System/TML/login.tml")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/System/Programs/stdgui", "/System/Programs/stdgui")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/System/Programs/setup", "/System/Programs/setup")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/System/Programs/settings", "/System/Programs/settings")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/System/Programs/login", "/System/Programs/login")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/System/Programs/ink", "/System/Programs/ink")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/System/API/sha256", "/System/API/sha256")
download("https://raw.githubusercontent.com/Smallfrypound/OreOS/master/System/API/PrintAPI", "/System/API/PrintAPI")
print("Installation Complete!")
sleep(3)
os.reboot()