Skip to content

Instantly share code, notes, and snippets.

@minif
Created February 16, 2017 03:17
Show Gist options
  • Save minif/3c39678f3e8bd2cebc9b54588bb7bf1e to your computer and use it in GitHub Desktop.
Save minif/3c39678f3e8bd2cebc9b54588bb7bf1e to your computer and use it in GitHub Desktop.
Minif OS v1.0 pre-alpha
if fs.exists("Library") then
fs.delete("Library")
fs.copy("disk/Library", "Library")
else
fs.copy("disk/Library", "Library")
end
if fs.exists("startup") then
fs.delete("startup")
fs.copy("disk/startup", "startup")
else
fs.copy("disk/startup", "startup")
end
if fs.exists("System") then
fs.delete("System")
fs.copy("disk/System", "System")
else
fs.copy("disk/System", "System")
end
if fs.exists("Users") then
fs.delete("Users")
fs.copy("disk/Users", "Users")
else
fs.copy("disk/Users", "Users")
end
--os.pullEvent = os.pullEventRaw
print("Booting")
sleep(3)
shell.run("/System/password")
os.shutdown()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment