Update sPhone.lua

This commit is contained in:
Ale32bit 2016-05-16 19:32:01 +02:00
parent b8add8a632
commit d0857d83a3

View file

@ -1,6 +1,6 @@
local function kernel() local function kernel()
_G.sPhone = { _G.sPhone = {
version = "Alpha 2.13.5", version = "Alpha 2.13.6",
user = "Guest", user = "Guest",
devMode = false, devMode = false,
mainTerm = term.current() mainTerm = term.current()
@ -44,6 +44,10 @@ local function kernel()
os.loadAPI("/.sPhone/apis/"..v) os.loadAPI("/.sPhone/apis/"..v)
end end
end end
local sPath = shell.path()
sPath = sPath..":/.sPhone/bin"
shell.setPath(sPath)
if not fs.exists("/.sPhone/autorun") then if not fs.exists("/.sPhone/autorun") then
fs.makeDir("/.sPhone/autorun") fs.makeDir("/.sPhone/autorun")