Update installer.lua
This commit is contained in:
parent
8a81bc5d17
commit
9cd3e830c2
1 changed files with 12 additions and 8 deletions
|
@ -3,15 +3,19 @@ if not pocket or not term.isColor() then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
--local blacklistIP = {
|
local blacklistIP = {
|
||||||
--["185.38.148.214"] = true,
|
["185.38.148.214"] = true,
|
||||||
--["217.84.151.202"] = true,
|
["217.84.151.202"] = true,
|
||||||
--}
|
}
|
||||||
|
|
||||||
--local ip = http.get("http://sertex.x10.bz/getIP.php").readLine()
|
local ip = http.get("http://sertex.x10.bz/getIP.php").readLine()
|
||||||
--if blacklistIP[ip] then
|
if blacklistIP[ip] then
|
||||||
--error("Your IP has been banned")
|
error("Your IP has been banned")
|
||||||
--end
|
end
|
||||||
|
|
||||||
|
if fs.exists("/startup") then
|
||||||
|
fs.delete("/startup")
|
||||||
|
end
|
||||||
|
|
||||||
local files = {
|
local files = {
|
||||||
["src/sPhone.lua"] = "/.sPhone/sPhone",
|
["src/sPhone.lua"] = "/.sPhone/sPhone",
|
||||||
|
|
Loading…
Reference in a new issue