From 79b64d80b5cf0880214adc876b1e836cd455bf1f Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Tue, 27 Jan 2026 22:56:01 -0800 Subject: [PATCH] j'emoji --- bun.lock | 2 +- src/client/index.tsx | 4 +--- src/server/apps.ts | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bun.lock b/bun.lock index bc5cb05..7b27780 100644 --- a/bun.lock +++ b/bun.lock @@ -27,7 +27,7 @@ "hono": ["hono@4.11.7", "", {}, "sha512-l7qMiNee7t82bH3SeyUCt9UF15EVmaBvsppY2zQtrbIhl/yzBTny+YUxsVjSjQ6gaqaeVtZmGocom8TzBlA4Yw=="], - "hype": ["hype@git+https://git.nose.space/defunkt/hype#a8d3a8203e145df7a222ea409588c2ea3a1ee4e6", { "dependencies": { "hono": "^4.10.4", "kleur": "^4.1.5" }, "peerDependencies": { "typescript": "^5" } }, "a8d3a8203e145df7a222ea409588c2ea3a1ee4e6"], + "hype": ["hype@git+https://git.nose.space/defunkt/hype#1a8d4228347a47b696b4c6918179cda94fc1b0cd", { "dependencies": { "hono": "^4.10.4", "kleur": "^4.1.5" }, "peerDependencies": { "typescript": "^5" } }, "1a8d4228347a47b696b4c6918179cda94fc1b0cd"], "kleur": ["kleur@4.1.5", "", {}, "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ=="], diff --git a/src/client/index.tsx b/src/client/index.tsx index b9a22fe..f5ac84c 100644 --- a/src/client/index.tsx +++ b/src/client/index.tsx @@ -273,9 +273,7 @@ const AppDetail = ({ app }: { app: App }) => ( <> - {app.state === 'running' && app.icon ? <>{app.icon} : ( - - )} + {app.icon ?? }   {app.name} diff --git a/src/server/apps.ts b/src/server/apps.ts index a650b07..f47585d 100644 --- a/src/server/apps.ts +++ b/src/server/apps.ts @@ -196,6 +196,7 @@ export const stopApp = (dir: string) => { const watchAppsDir = () => { watch(APPS_DIR, { recursive: true }, (_event, filename) => { if (!filename) return + if (!filename.includes('/')) return // Extract the app directory name from the path (e.g., "myapp/package.json" -> "myapp") const dir = filename.split('/')[0]!