Update init.lua

This commit is contained in:
Ale32bit 2017-01-08 17:24:46 +01:00 committed by GitHub
parent d49add6b51
commit 91a56448da

View file

@ -42,7 +42,7 @@ local function crash(err)
print("LUAJ Version: ".._LUAJ_VERSION)
end
print("Contact sPhone devs:")
print("GitHub: BeaconNet/sPhone")
print("GitHub: SertexTeam/sPhone")
print("Thanks for using sPhone")
print("Press any key")
repeat
@ -90,9 +90,9 @@ local function recovery()
end
print("Installing sPhone...")
sleep(0.5)
setfenv(loadstring(http.get("https://raw.githubusercontent.com/BeaconNet/sPhone/master/src/installer.lua").readAll()),getfenv())()
setfenv(loadstring(http.get("https://raw.githubusercontent.com/SertexTeam/sPhone/master/src/installer.lua").readAll()),getfenv())()
elseif k == 3 then
setfenv(loadstring(http.get("https://raw.githubusercontent.com/BeaconNet/sPhone/master/src/installer.lua").readAll()),getfenv())()
setfenv(loadstring(http.get("https://raw.githubusercontent.com/SertexTeam/sPhone/master/src/installer.lua").readAll()),getfenv())()
elseif k == 4 then
fs.delete("/.sPhone/config")
fs.delete("/.sPhone/cache")
@ -113,7 +113,7 @@ end
term.setCursorPos(1,1)
term.clear()
term.setTextColor(colors.black)
print("BeaconNet")
print("Sertex")
if fs.exists("/.sPhone/interfaces/bootImage") then
local bootImage = paintutils.loadImage("/.sPhone/interfaces/bootImage")
paintutils.drawImage(bootImage, 11,7)
@ -179,7 +179,7 @@ end
if argData["-u"] then
print("Getting installer...")
setfenv(loadstring(http.get("https://raw.githubusercontent.com/BeaconNet/sPhone/master/src/installer.lua").readAll()),getfenv())()
setfenv(loadstring(http.get("https://raw.githubusercontent.com/SertexTeam/sPhone/master/src/installer.lua").readAll()),getfenv())()
end
os.pullEvent = os.oldPullEvent