fixed launcher process being visible in process manager
This commit is contained in:
@@ -59,7 +59,7 @@ local function mainloop()
|
||||
local apps = app.getRunningApps()
|
||||
for i,pid in ipairs(apps) do
|
||||
local appData,msg = app.getDetail(pid)
|
||||
if appData then
|
||||
if appData and pid ~= 1 then
|
||||
processFrame:addLabel({
|
||||
x=1,
|
||||
y=i,
|
||||
@@ -70,7 +70,7 @@ local function mainloop()
|
||||
x=w-1,
|
||||
y=i,
|
||||
background=colors.green,
|
||||
foreground=colors.white
|
||||
foreground=colors.red
|
||||
}):setText("X"):onClick(function (btn,x,y) app.closeApp(pid) mainloop() end)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user