initialize Electron desktop app and remove unused files
Build / build (push) Canceled after 0s
Playwright / browser (push) Canceled after 0s

This commit is contained in:
2026-10-25 01:09:01 +08:00
commit 01d9e301fc
877 changed files with 262513 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

@@ -0,0 +1,18 @@
{
"name": "hermes-ui",
"short_name": "hermes-ui",
"description": "Self-hosted web dashboard for Hermes Agent",
"start_url": "/#/hermes/chat",
"scope": "/",
"display": "standalone",
"background_color": "#f7f7f4",
"theme_color": "#f7f7f4",
"icons": [
{
"src": "/logo.png",
"sizes": "1254x1254",
"type": "image/png",
"purpose": "any maskable"
}
]
}
+10
View File
@@ -0,0 +1,10 @@
self.addEventListener('notificationclick', (event) => {
event.notification.close()
event.waitUntil((async () => {
const windows = await clients.matchAll({ type: 'window', includeUncontrolled: true })
for (const client of windows) {
if ('focus' in client) return client.focus()
}
if (clients.openWindow) return clients.openWindow('/')
})())
})