Advertisement
Guest User

Untitled

a guest
Mar 20th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. local sFile, sName = "sensData1", ""
  2. local sFile, sName = "sensData2", ""
  3.  
  4. print("Thank you for choosing PriestleyOS!")
  5. print("First i need some information to start your installation.")
  6. print("What username would you like?")
  7. local username = read()
  8. print("Great name! Keep the account secure and add a password!")
  9. local password = read()
  10. print("Wow that's secure!")
  11. hWrite = (fs.open("sensData1", "w"))
  12. hWrite.write(username)
  13. hWrite.close()
  14.  
  15. hWrite = (fs.open("sensData2", "w"))
  16. hWrite.write(password)
  17. hWrite.close()
  18. sleep(1)
  19. print("Installing PriestleyOS...")
  20. sleep(4)
  21. print("Installing included software...")
  22. sleep(2)
  23. fs.copy("disk/PriestleyOS.lua", "startup")
  24. print("Done! Please remove the disk and restart your Computer!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement