1
0
mirror of https://github.com/20kdc/OC-KittenOS.git synced 2024-09-29 07:01:06 +10:00

launchers no longer spam neo.emergency

This commit is contained in:
Izaya 2018-04-27 13:29:30 +10:00
parent 08a34619e0
commit 704d54bb8f
2 changed files with 0 additions and 3 deletions

View File

@ -17,7 +17,6 @@ local icecap = neo.requireAccess("x.neo.pub.base", "load pinned applications")
local w,f = pcall(icecap.open,"/pinned", false)
if w and f then
neo.emergency(f)
local fcontent = f.read("*a")
for s in fcontent:gmatch("[^\n]+") do
for k,v in ipairs(neo.listApps()) do
@ -102,7 +101,6 @@ end
local function appMenu(autoclose)
local wwidth, wheight, buttons = genAppMenu(autoclose)
neo.emergency(wwidth,wheight,buttons)
neoux.create(wwidth+3, wheight, "apps", neoux.tcwindow(wwidth+3, wheight, buttons, function (w)
w.close()
end, 0xFFFFFF, 0))

View File

@ -19,7 +19,6 @@ function searchApps(str)
if v:sub(1, 4) == "app-" then
if v:find(str) then
rt[#rt+1] = v
neo.emergency(v)
end
end
end