1
0
mirror of https://github.com/kepler155c/opus synced 2024-12-24 15:40:26 +00:00

web running os

This commit is contained in:
kepler155c@gmail.com 2017-05-20 23:46:38 -04:00
parent 2266cd9873
commit d1fd211a2b
3 changed files with 6 additions and 6 deletions

View File

@ -61,10 +61,10 @@ local function sure(N,n)
end
local function splitnum(S)
Out=""
local Out=""
for l1=1,#S,2 do
l2=(#S-l1)+1
CNum=tonumber("0x"..sure(string.sub(S,l2-1,l2-1),1) .. sure(string.sub(S,l2,l2),0))
local l2=(#S-l1)+1
local CNum=tonumber("0x"..sure(string.sub(S,l2-1,l2-1),1) .. sure(string.sub(S,l2,l2),0))
Out=string.char(CNum)..Out
end
return Out

View File

@ -15,10 +15,10 @@ local config = {
Recent = { },
currentCategory = 'Apps',
}
local applications = { }
Config.load('Overview', config)
local applications = { }
local function loadApplications()
Util.clear(applications)
local apps = fs.list('sys/apps/.overview')

View File

@ -11,7 +11,7 @@ local function netUp()
local files = fs.list('/sys/network')
for _,file in pairs(files) do
local fn, msg = loadfile('/sys/network/' .. file, getfenv())
local fn, msg = loadfile('/sys/network/' .. file, getfenv(1))
if fn then
fn()
else