feat: #4 shift lights + #5 phone dash + #6 PWA support

This commit is contained in:
2026-07-26 18:43:59 +08:00
parent ea32fa841e
commit 71d039ba82
7 changed files with 195 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
{
"name": "TurboSu",
"short_name": "TurboSu",
"description": "赛车遥测仪表盘",
"start_url": "/",
"display": "standalone",
"background_color": "#0a0a0f",
"theme_color": "#0a0a0f",
"icons": []
}
+3
View File
@@ -0,0 +1,3 @@
self.addEventListener('install', (e) => { self.skipWaiting(); });
self.addEventListener('activate', (e) => { e.waitUntil(clients.claim()); });
self.addEventListener('fetch', (e) => { e.respondWith(fetch(e.request).catch(() => caches.match(e.request))); });