From 43ca12960b7a6716cc90bac4fd22528a9d26fa15 Mon Sep 17 00:00:00 2001 From: zpljd258 <11162658+zpljd258@users.noreply.github.com> Date: Wed, 24 Jun 2026 01:04:27 +0800 Subject: [PATCH] feat(webui): add PWA support for mobile home screen installation - Add manifest.json with icons for install prompt - Add service worker with cache-first for static assets - Register SW in main.tsx - Link manifest in index.html --- webui/index.html | 1 + webui/public/brand/nanobot_icon_192.png | Bin 0 -> 35299 bytes webui/public/brand/nanobot_icon_512.png | Bin 0 -> 136288 bytes webui/public/brand/nanobot_icon_maskable.png | Bin 0 -> 102273 bytes webui/public/manifest.json | 33 +++++++++ webui/public/sw.js | 72 +++++++++++++++++++ webui/src/main.tsx | 8 +++ 7 files changed, 114 insertions(+) create mode 100644 webui/public/brand/nanobot_icon_192.png create mode 100644 webui/public/brand/nanobot_icon_512.png create mode 100644 webui/public/brand/nanobot_icon_maskable.png create mode 100644 webui/public/manifest.json create mode 100644 webui/public/sw.js diff --git a/webui/index.html b/webui/index.html index d642c8d98..070e9966d 100644 --- a/webui/index.html +++ b/webui/index.html @@ -14,6 +14,7 @@ +