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
+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('/')
})())
})