PWA manifest sed: minified JSON has no space after colon — make match spacing-agnostic

This commit is contained in:
Nathan Schneider committed 2026-10-19 21:43:48 -06:00
1 parent 289ab2f9ff
commit e9850d7148
1 file changed
+1 -1
+1 -1
View File
@@ -53,5 +53,5 @@ RUN sed -i 's|<title>LibreChat</title>|<title>Inference Co‑op</title>|' /app/c
# manifest (the bright green bar Firefox PWAs draw across the top) and black # manifest (the bright green bar Firefox PWAs draw across the top) and black
# background_color. Point both at the cream page color; the index.html meta # background_color. Point both at the cream page color; the index.html meta
# gets a light + dark pair so browser tabs match the theme too. # gets a light + dark pair so browser tabs match the theme too.
RUN sed -i 's|"theme_color": "#009688"|"theme_color": "#faf8f5"|; s|"background_color": "#000000"|"background_color": "#faf8f5"|' /app/code/librechat/client/dist/manifest.webmanifest && \ RUN sed -i 's|"theme_color": *"#009688"|"theme_color":"#faf8f5"|; s|"background_color": *"#000000"|"background_color":"#faf8f5"|' /app/code/librechat/client/dist/manifest.webmanifest && \
sed -i 's|<meta name="theme-color" content="#171717" />|<meta name="theme-color" media="(prefers-color-scheme: light)" content="#faf8f5" />\n <meta name="theme-color" media="(prefers-color-scheme: dark)" content="#22271f" />|' /app/code/librechat/client/dist/index.html sed -i 's|<meta name="theme-color" content="#171717" />|<meta name="theme-color" media="(prefers-color-scheme: light)" content="#faf8f5" />\n <meta name="theme-color" media="(prefers-color-scheme: dark)" content="#22271f" />|' /app/code/librechat/client/dist/index.html