From bfd0751618933b6fe3b3bec68ab35a3f00de81d8 Mon Sep 17 00:00:00 2001 From: Ivan Panin Date: Wed, 4 Mar 2026 23:31:03 +0300 Subject: [PATCH] Remove binary icon assets from PWA PR and keep text-only manifest updates --- app/index.html | 9 ++++----- app/public/manifest.json | 9 ++++++++- app/src/App.tsx | 3 ++- app/src/sw.ts | 10 ++++++---- app/vite.config.ts | 9 ++++++++- 5 files changed, 28 insertions(+), 12 deletions(-) diff --git a/app/index.html b/app/index.html index 7e980bf..70cb908 100644 --- a/app/index.html +++ b/app/index.html @@ -6,14 +6,13 @@ - - - - + + + Scriptrans
- + diff --git a/app/public/manifest.json b/app/public/manifest.json index c2625f7..bc29095 100644 --- a/app/public/manifest.json +++ b/app/public/manifest.json @@ -5,7 +5,14 @@ "scope": "/scriptrans/", "display": "standalone", "theme_color": "#ffffff", + "background_color": "#ffffff", "icons": [ - { "src": "/icons/placeholder.svg", "sizes": "any", "type": "image/svg+xml" } + { "src": "icons/placeholder.svg", "sizes": "any", "type": "image/svg+xml" }, + { + "src": "icons/placeholder.svg", + "sizes": "any", + "type": "image/svg+xml", + "purpose": "maskable" + } ] } diff --git a/app/src/App.tsx b/app/src/App.tsx index c637fa3..5b94238 100644 --- a/app/src/App.tsx +++ b/app/src/App.tsx @@ -7,6 +7,7 @@ import { FileContext } from './FileContext'; function Header() { const location = useLocation(); + const iconPath = `${import.meta.env.BASE_URL}icons/placeholder.svg`; const step = location.pathname === '/progress' ? 'Progress' @@ -17,7 +18,7 @@ function Header() {
- logo + logo {step}