Update store.spk

This commit is contained in:
Ale32bit 2017-01-08 17:27:00 +01:00 committed by GitHub
parent bb7a5f6f02
commit 53e3fbd346

View file

@ -4,7 +4,7 @@
-- --
{ {
files = "{\ files = "{\
[ \"store.lua\" ] = \"local host = \\\"https://raw.github.com/BeaconNet/sPhone-Store/master/\\\"\\\ [ \"store.lua\" ] = \"local host = \\\"https://raw.github.com/SertexTeam/sPhone-Store/master/\\\"\\\
local index = host..\\\"index.lua\\\"\\\ local index = host..\\\"index.lua\\\"\\\
local apps = host..\\\"apps/\\\"\\\ local apps = host..\\\"apps/\\\"\\\
local appsL = {}\\\ local appsL = {}\\\
@ -25,7 +25,7 @@ local function redraw()\\\
end\\\ end\\\
\\\ \\\
local function install(path,name)\\\ local function install(path,name)\\\
local data = http.get(\\\"https://raw.github.com/BeaconNet/sPhone-Store/master/apps/\\\"..path).readAll()\\\ local data = http.get(\\\"https://raw.github.com/SertexTeam/sPhone-Store/master/apps/\\\"..path).readAll()\\\
local f = fs.open(\\\"/tmp/sPhoneStore/\\\"..name..\\\".spk\\\",\\\"w\\\")\\\ local f = fs.open(\\\"/tmp/sPhoneStore/\\\"..name..\\\".spk\\\",\\\"w\\\")\\\
f.write(data)\\\ f.write(data)\\\
f.close()\\\ f.close()\\\
@ -72,7 +72,7 @@ while true do\\\
return\\\ return\\\
end\\\ end\\\
\\\ \\\
local data = http.get(\\\"https://raw.github.com/BeaconNet/sPhone-Store/master/apps/\\\"..path).readAll()\\\ local data = http.get(\\\"https://raw.github.com/SertexTeam/sPhone-Store/master/apps/\\\"..path).readAll()\\\
data = textutils.unserialise(data)\\\ data = textutils.unserialise(data)\\\
if data then\\\ if data then\\\
local _conf = textutils.unserialise(data.config)\\\ local _conf = textutils.unserialise(data.config)\\\
@ -141,7 +141,7 @@ while true do\\\
version = 1,\ version = 1,\
main = \"store.lua\",\ main = \"store.lua\",\
id = \"sphone.store\",\ id = \"sphone.store\",\
author = \"BeaconNet\",\ author = \"Sertex\",\
hidden = true,\ hidden = true,\
}", }",
} }