Advertisement
devomaa

iPodCC Setup

Mar 16th, 2020
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.97 KB | None | 0 0
  1. --___ ____ ___
  2. -- |  |  | |  | |¯¯\ |¯¯ |¯¯ Setup
  3. --_|_ |¯¯  |__| |__/ |__ |__
  4. --:::::::++*************************+::::::::::
  5. --::::::+**++::::::::::*========#=#=*=:::::::::
  6. --::::::+==*:++++++++++*#=**+***===#==+::::::::
  7. --::::::+==:----.......+=*:---:+***===+:::::::::::::
  8. --::::::+==:----.......:=*+:--:+**+*==+::::::::::I::
  9. --::::::+==:--::-......:*++++:+::::+==+::::::::::I::
  10. --::::::+=*::::-.......:*++++:++:::+*=+:::::::::\|/:
  11. --::::::+==::::+-......:*++::::::::+*=+:::::::::::::
  12. --::::::+==:::::::::...:+:::+:++++:*==+::::::::
  13. --::::::+==::--:-::....+##****#====#==+::::::::
  14. --::::::+==+:::::::::::*=*****==**===#+::::::::
  15. --::::::+==*************************=#+::::::::
  16. --::::::+===*=**************=******==#+::::::::
  17. --::::::+====**==*=###===###=====**==#+::::::::
  18. --::::::+========##@@@@@@@#@##=======#+::::::::
  19. --::::::+=#====###@@##@@@@@@@@@#====##+::::::::
  20. --::::::+##===##@@##########@#@##====#+::::::::
  21. --::::::+##===#=+####====###@=+=#===##+::::::::
  22. --::::::+##===#####@#=====##@@###===#@+::::::::
  23. --::::::+####=#############@@#@##==##@+::::::::
  24. --::::::+########@@#@@#@###@@########@+::::::::
  25. --::::::+###########@#===#@##########@+::::::::
  26. --::::::+#@##########################@+::::::::
  27. --::::::+#@#########################@@:::::::::
  28. --:::::::+=#==##########=======####==+:::::::::
  29. print("This is the iPodCC setup.")
  30. print("Please confirm that the device is mounted, press 'y' when confirmed.")
  31. input = read()
  32. function main()
  33.     h = http.get("https://gist.githubusercontent.com/SquidDev/e0f82765bfdefd48b0b15a5c06c0603b/raw/clone.min.lua")
  34.     hui = http.get("https://pastebin.com/raw/SD25GhYf")
  35.     hcontents = h.readAll()
  36.     hfile = fs.open("git", "w")
  37.     hfile.write(hcontents)
  38.     hfile.close
  39.     huicontents = hui.readAll()
  40.     huifile = fs.open("ui", "w")
  41.     huifile.close
  42.     huifile.write(huicontents)
  43.     shell.run("git https://github.com/BDragonCC/iPodCC.git")
  44.     fs.move("iPodCC/*", "/")
  45. end
  46. if input == "y" then
  47.     main()
  48. else
  49.     print("User didn't press 'y'")
  50. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement