Skip to content

Commit 52d52ba

Browse files
authored
Merge pull request #221 from buggregator/issue/#77-pwa
#77 add base version of pwa manifest
2 parents ed36531 + e5595ef commit 52d52ba

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

.docker/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ ENV VITE_APP_MODE=production
1616

1717
RUN sed -i "s/\"version\": \".*\"/\"version\": \"${APP_VERSION}\"/" package.json
1818

19+
RUN sed -i "s/\"version\": \".*\"/\"version\": \"${APP_VERSION}\"/" src/static/manifest.json
20+
1921
RUN yarn install --ignore-scripts
2022
RUN yarn generate
2123
RUN rm -rf node_modules

nuxt.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export default defineNuxtConfig({
2626
],
2727
link: [
2828
{rel: "icon", type: "image/x-icon", href: "/favicon/favicon.ico"},
29+
{rel: "manifest", href: "manifest.json"},
2930
],
3031
},
3132
},

src/static/manifest.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"version": "1.22.1",
3+
"short_name": "Buggregator",
4+
"name": "Buggregator",
5+
"manifest_version": 2,
6+
"lang": "en",
7+
"icons": [
8+
{
9+
"src": "/favicon/android-chrome-512x512.png",
10+
"type": "image/png",
11+
"sizes": "512x512"
12+
},
13+
{
14+
"src": "/favicon/android-chrome-192x192.png",
15+
"type": "image/png",
16+
"sizes": "192x192"
17+
}
18+
],
19+
"author": "Pavel Buchnev",
20+
"start_url": "/",
21+
"background_color": "#1F2937",
22+
"display": "standalone",
23+
"scope": "/",
24+
"theme_color": "#1F2937",
25+
"description": "Buggregator is a free, multi-purpose server tool designed primarily for debugging PHP applications, but it's also compatible with other programming languages. Think of it as a Swiss Army knife for developers. What makes it special is that it offers a range of features that you would usually find in various paid tools, but it's available for free."
26+
}

0 commit comments

Comments
 (0)