From b07947b9d37ed5194570eb4457893f5820c877d2 Mon Sep 17 00:00:00 2001 From: josedario87 Date: Fri, 29 Aug 2025 16:02:04 -0600 Subject: [PATCH] cambio random del pwa --- client/public/manifest.webmanifest | 12 ++++++++ client/src/components/DashboardActions.vue | 34 ++++++++++++++++++++-- client/src/main.ts | 23 +++++++++++++++ client/src/router/index.ts | 5 ++++ 4 files changed, 72 insertions(+), 2 deletions(-) diff --git a/client/public/manifest.webmanifest b/client/public/manifest.webmanifest index 83c2949..bd25dd1 100644 --- a/client/public/manifest.webmanifest +++ b/client/public/manifest.webmanifest @@ -8,6 +8,18 @@ "display": "standalone", "background_color": "#111111", "theme_color": "#111111", + "file_handlers": [ + { + "action": "/open-snatchsave", + "accept": { + "application/x-snatchsave": [".snatchSave"] + }, + "icons": [ + { "src": "/pwa_icons/icon-48x48.png", "sizes": "48x48", "type": "image/png" }, + { "src": "/pwa_icons/icon-128x128.png", "sizes": "128x128", "type": "image/png" } + ] + } + ], "icons": [ { "src": "/pwa_icons/icon-192x192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" }, { "src": "/pwa_icons/icon-256x256.png", "sizes": "256x256", "type": "image/png", "purpose": "any" }, diff --git a/client/src/components/DashboardActions.vue b/client/src/components/DashboardActions.vue index 1a5c0d9..ddd7584 100644 --- a/client/src/components/DashboardActions.vue +++ b/client/src/components/DashboardActions.vue @@ -22,7 +22,7 @@