mirror of
https://github.com/20kdc/OC-KittenOS.git
synced 2024-11-23 10:58:06 +11:00
launchers no longer spam neo.emergency
This commit is contained in:
parent
08a34619e0
commit
704d54bb8f
@ -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))
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user