// SPDX-License-Identifier: MIT // Copyright (C) 2026 Pooya Parsa // System (sysapps.ts, components/SystemInfo.tsx): opened on the section it // last showed, or brought to the front; it works whatever the system's state. // Its name, chrome icon and key are its window's (sysapps.ts SYSTEM). import { apps$, appWinId, openSection, SYSTEM } from "../../sysapps.ts"; import type { PageApp } from "../types.ts"; export default { kind: "page", ...SYSTEM, desc: "The state, the boot, the environment, the kernel log and errors", win: appWinId("system"), // A pulse line in a rounded frame. icon: { svg: '' }, colors: ["#52525b", "#18181b"], open: () => openSection(apps$.get().system), } satisfies PageApp;