fixed launcher process being visible in process manager

This commit is contained in:
2026-01-02 12:23:08 -08:00
parent 49ec202612
commit fda51af6a0

View File

@@ -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