From d697c2d68934f90abe2f50518c4670752d98e9f4 Mon Sep 17 00:00:00 2001 From: dysTOS Date: Mon, 30 Oct 2023 20:59:22 +0100 Subject: [PATCH] add manifest.json to angular.json --- angular.json | 14 +++++++---- src/index.gulaschmusi.html | 2 +- src/index.html | 2 +- src/manifest.gulaschmusi.json | 26 +++++++++++++++++++++ src/{manifest.webmanifest => manifest.json} | 0 5 files changed, 37 insertions(+), 7 deletions(-) create mode 100644 src/manifest.gulaschmusi.json rename src/{manifest.webmanifest => manifest.json} (100%) diff --git a/angular.json b/angular.json index 20e0a8d..964536e 100644 --- a/angular.json +++ b/angular.json @@ -26,7 +26,7 @@ "assets": [ "src/assets", "src/favicon.ico", - "src/upload.php" + "src/manifest.json" ], "styles": ["src/styles.scss"], "scripts": [ @@ -47,7 +47,7 @@ "budgets": [ { "type": "initial", - "maximumWarning": "3mb", + "maximumWarning": "4mb", "maximumError": "5mb" }, { @@ -69,7 +69,7 @@ "budgets": [ { "type": "initial", - "maximumWarning": "3mb", + "maximumWarning": "4mb", "maximumError": "5mb" }, { @@ -91,7 +91,7 @@ "budgets": [ { "type": "initial", - "maximumWarning": "3mb", + "maximumWarning": "4mb", "maximumError": "5mb" }, { @@ -110,6 +110,10 @@ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.gulaschmusi.ts" + }, + { + "replace": "src/manifest.json", + "with": "src/manifest.gulaschmusi.json" } ], "outputHashing": "all" @@ -161,7 +165,7 @@ "assets": [ "src/assets", "src/favicon.ico", - "src/upload.php" + "src/manifest.json" ] } } diff --git a/src/index.gulaschmusi.html b/src/index.gulaschmusi.html index db90683..5bebfcb 100644 --- a/src/index.gulaschmusi.html +++ b/src/index.gulaschmusi.html @@ -11,7 +11,7 @@ /> - + diff --git a/src/index.html b/src/index.html index afdb27e..a68e694 100644 --- a/src/index.html +++ b/src/index.html @@ -11,7 +11,7 @@ /> - + diff --git a/src/manifest.gulaschmusi.json b/src/manifest.gulaschmusi.json new file mode 100644 index 0000000..b352ee4 --- /dev/null +++ b/src/manifest.gulaschmusi.json @@ -0,0 +1,26 @@ +{ + "short_name": "gmrAPP", + "name": "gmrAPP: GulaschMusiApp", + "icons": [ + { + "src": "/assets/mkjICONS/Favicon_Square/android-icon-192x192.png", + "type": "image/png", + "sizes": "192x192", + "purpose": "maskable any" + }, + { + "src": "/assets/mkjICONS/LOGO_APP_512x512.png", + "type": "image/png", + "sizes": "512x512", + "purpose": "maskable any" + } + ], + "start_url": "/", + "background_color": "#ffffff", + "display": "standalone", + "scope": "/", + "theme_color": "#006600", + + "description": "Gulaschmusi - best served hot", + "screenshots": [] +} diff --git a/src/manifest.webmanifest b/src/manifest.json similarity index 100% rename from src/manifest.webmanifest rename to src/manifest.json