Eboot/installer.lua

12 lines
868 B
Lua

print("Installing Eboot")
fs.makeDir("/Eboot")
fs.makeDir("/Eboot/entries")
fs.makeDir("/Eboot/recovery")
fs.makeDir("/Eboot/recovery/entries")
fs.makeDir("/Eboot/recovery/payloads")
shell.run("wget http://git.vern.cc/chloe/Eboot/raw/branch/main/Eboot/boot.lua /Eboot/boot.lua")
shell.run("wget http://git.vern.cc/chloe/Eboot/raw/branch/main/Eboot/recovery/rec.lua /Eboot/recovery/rec.lua")
shell.run("wget http://git.vern.cc/chloe/Eboot/raw/branch/main/Eboot/entries/craftos.lua /Eboot/entries/craftos.lua")
shell.run("wget http://git.vern.cc/chloe/Eboot/raw/branch/main/Eboot/recovery/entries/remove.lua /Eboot/recovery/entries/remove.lua")
shell.run("wget http://git.vern.cc/chloe/Eboot/raw/branch/main/Eboot/recovery/payloads/rem.lua /Eboot/recovery/payloads/rem.lua")
shell.run("wget http://git.vern.cc/chloe/Eboot/raw/branch/main/startup.lua /startup.lua")