Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --___ ____ ___
- -- | | | | | |¯¯\ |¯¯ |¯¯ Setup
- --_|_ |¯¯ |__| |__/ |__ |__
- --:::::::++*************************+::::::::::
- --::::::+**++::::::::::*========#=#=*=:::::::::
- --::::::+==*:++++++++++*#=**+***===#==+::::::::
- --::::::+==:----.......+=*:---:+***===+:::::::::::::
- --::::::+==:----.......:=*+:--:+**+*==+::::::::::I::
- --::::::+==:--::-......:*++++:+::::+==+::::::::::I::
- --::::::+=*::::-.......:*++++:++:::+*=+:::::::::\|/:
- --::::::+==::::+-......:*++::::::::+*=+:::::::::::::
- --::::::+==:::::::::...:+:::+:++++:*==+::::::::
- --::::::+==::--:-::....+##****#====#==+::::::::
- --::::::+==+:::::::::::*=*****==**===#+::::::::
- --::::::+==*************************=#+::::::::
- --::::::+===*=**************=******==#+::::::::
- --::::::+====**==*=###===###=====**==#+::::::::
- --::::::+========##@@@@@@@#@##=======#+::::::::
- --::::::+=#====###@@##@@@@@@@@@#====##+::::::::
- --::::::+##===##@@##########@#@##====#+::::::::
- --::::::+##===#=+####====###@=+=#===##+::::::::
- --::::::+##===#####@#=====##@@###===#@+::::::::
- --::::::+####=#############@@#@##==##@+::::::::
- --::::::+########@@#@@#@###@@########@+::::::::
- --::::::+###########@#===#@##########@+::::::::
- --::::::+#@##########################@+::::::::
- --::::::+#@#########################@@:::::::::
- --:::::::+=#==##########=======####==+:::::::::
- print("This is the iPodCC setup.")
- print("Please confirm that the device is mounted, press 'y' when confirmed.")
- input = read()
- function main()
- h = http.get("https://gist.githubusercontent.com/SquidDev/e0f82765bfdefd48b0b15a5c06c0603b/raw/clone.min.lua")
- hui = http.get("https://pastebin.com/raw/SD25GhYf")
- hcontents = h.readAll()
- hfile = fs.open("git", "w")
- hfile.write(hcontents)
- hfile.close
- huicontents = hui.readAll()
- huifile = fs.open("ui", "w")
- huifile.close
- huifile.write(huicontents)
- shell.run("git https://github.com/BDragonCC/iPodCC.git")
- fs.move("iPodCC/*", "/")
- end
- if input == "y" then
- main()
- else
- print("User didn't press 'y'")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement