1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-21 18:57:41 +00:00

web running os

This commit is contained in:
kepler155c@gmail.com
2017-05-21 01:42:41 -04:00
parent 3307d04e20
commit 76a3313654
31 changed files with 231 additions and 224 deletions

View File

@@ -1,8 +0,0 @@
{
icon = "\030 \0310=\0300 \030 XX\0300\031f \030 \
\030 \031f \0300 \030 \
\030 \031f \0310o \031f \0310o\031f ",
category = "System",
title = "AppStore",
run = "Appstore.lua",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\0304\031f \030 \0311e\
\030f\031f \0304 \030 \0311ee\031f \
\030f\031f \0304 \030 \0311e\031f ",
title = "Events",
category = "System",
run = "Events.lua",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\0300\0317==\031 \0307 \
\0300\0317====\
\0300\0317====",
title = "Files",
category = "Apps",
run = "Files.lua",
}

View File

@@ -1,8 +0,0 @@
{
icon = " \031d?\031 \
\031d?\031 \
\031d?",
title = "Help",
category = "Apps",
run = "Help.lua",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\030f \
\030f\0310lua>\031 \
\030f ",
title = "Lua",
category = "Apps",
run = "Lua.lua",
}

View File

@@ -1,9 +0,0 @@
{
title = "Network",
category = "Apps",
requires = "wireless_modem",
icon = "\0304 \030 \
\030f \0304 \0307 \030 \031 \031f)\
\030f \0304 \0307 \030 \031f)",
run = "Network.lua",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\0304 \030 \
\030f \0304 \0307 \030 \031 \031f_\
\030f \0304 \0307 \030 \031f/",
title = "Devices",
category = "System",
run = "Peripherals.lua",
}

View File

@@ -1,9 +0,0 @@
{
title = "Scripts",
category = "Apps",
requires = "wireless_modem",
icon = "\0300\0317if\031 \0307 \
\0300\0317turt\
\0300\0317retu",
run = "Script.lua",
}

View File

@@ -1,8 +0,0 @@
{
icon = " \0307\031f| \
\0307\031f---o\030 \031 \
\0307\031f| ",
title = "System",
category = "System",
run = "System.lua",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\0307 \0303\0317__\0307\031 \
\0303 \
\0303 ",
title = "Tabs",
category = "System",
run = "Tabs.lua",
}

View File

@@ -1,5 +0,0 @@
{
category = "Apps",
title = "Turtles",
run = "Turtles.lua",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\030f\0310You \031 \
\030f\0310Ther\030 \031 \
\030f\0314?\031f \031 \030 ",
title = "Adventure",
category = "Games",
run = "rom/programs/fun/adventure",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\0317_____\
\030e\031c###\0308\0317=\030e\031c#\
\030e\031c#\0307\031f.\030e\031c###",
title = "Builder",
category = "Apps",
run = "builder.lua",
}

View File

@@ -1,8 +0,0 @@
{
icon = " \030f \
\030f \0307 \
\030f \0307 \0300 ",
title = "DJ",
category = "Games",
run = "/rom/programs/fun/dj",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\030f \0302 \
\0309 \0302 \0301 \
\030e \0309 \0301 ",
title = "Falling",
category = "Games",
run = "rom/programs/pocket/falling",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\0304\031f \030f\0310o..\0304\031f \
\0304\031f \030f\0310.o.\0304\031f \
\0304\031f - ",
title = "Reboot",
category = "System",
run = "rom/programs/reboot",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\030 \031f \031b \031foo \
\030 \031f \030e\031b \030 \031f/\
\030 \031b \030e \030 \031f\\",
category = "Apps",
title = "Recorder",
run = "recorder.lua",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\0307 \0308 \0307 \
\0308\031b> \030b\0310>\0308\0318 \
\0307 ",
title = "Redirection",
category = "Games",
run = "rom/programs/fun/advanced/redirection",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\0304 \030 \
\0304 \030f\0314> \0310_\031 \
\0304 \030f \030 ",
title = "Shell",
category = "Apps",
run = "shell",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\0304\031f \
\0304\031f \030f\0310zz\031 \
\0304\031f \030f ",
title = "Shutdown",
category = "System",
run = "/rom/programs/shutdown",
}

View File

@@ -1,8 +0,0 @@
{
icon = " \0315\\\030 \031 \
\0304\031f _ \030 \031c/\0315\\\
\0304 ",
title = "Miner",
category = "Apps",
run = "simpleMiner.lua",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\0318/\030f\031 \030 \0318\\\
\030f \0308\0319o\030f\031 \
\0318\\\030f\031 \030 \0318/",
title = "Activity",
category = "Apps",
run = "storageActivity.lua",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\0307 \
\0307 \0308\0311 \0305 \0308\031 \0307 \0308 \0301 \
\0307 ",
title = "Storage",
category = "Apps",
run = "storageManager.lua",
}

View File

@@ -1,8 +0,0 @@
{
icon = " \0314>\0310_\
\031f)))\031 \
\0314>\0310_\031 ",
title = "Telnet",
category = "Apps",
run = "telnet.lua",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\0301\03171\03180\030 \031 \
\0301\03181\030 \031 \
\0301\03170\03180\03171\0307\031f>",
title = "Update",
category = "System",
run = "update.lua",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\
\031e\\\031 \031e/\031dn\
\031e\\/\031 \0319c",
title = "VNC",
category = "Apps",
run = "vnc.lua",
}

View File

@@ -1,8 +0,0 @@
{
icon = "\030d \030 \030e \030 \
\030d \030 \
\030d ",
title = "Worm",
category = "Games",
run = "/rom/programs/fun/worm",
}

View File

@@ -7,6 +7,9 @@ local NFT = require('nft')
local class = require('class')
local FileUI = require('fileui')
local Tween = require('tween')
local SHA1 = require('sha1')
local REGISTRY_DIR = 'usr/.registry'
multishell.setTitle(multishell.getCurrent(), 'Overview')
UI:configure('Overview', ...)
@@ -20,13 +23,16 @@ Config.load('Overview', config)
local applications = { }
local function loadApplications()
Util.clear(applications)
local apps = fs.list('sys/apps/.overview')
for _,app in pairs(apps) do
local data = Util.readTable('sys/apps/.overview/' .. app)
if data then
data.filename = 'sys/apps/.overview/' .. app
table.insert(applications, data)
applications = Util.readTable('sys/etc/app.db')
if fs.exists(REGISTRY_DIR) then
local files = fs.list(REGISTRY_DIR)
for _,file in pairs(files) do
local app = Util.readTable(fs.combine(REGISTRY_DIR, file))
if app and app.key then
app.filename = fs.combine(REGISTRY_DIR, file)
applications[app.key] = app
end
end
end
end