]> _ Git - fluidbook-toolbox.git/commitdiff
wait #5422 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 29 Aug 2022 18:10:24 +0000 (20:10 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 29 Aug 2022 18:10:24 +0000 (20:10 +0200)
app/Http/Controllers/Admin/Operations/Tools/Favicon.php
resources/tools/favicon/config.json [new file with mode: 0644]

index 11c8d306f7c48c87c5d58fadbfd1e9c8f0728740..95643613919e09da842a967cb064f2c932932024 100644 (file)
@@ -53,6 +53,7 @@ trait Favicon
         $cli->setModule('favicons-compiled-cli');
         $cli->setArg('i', $path);
         $cli->setArg('o', $out);
+        $cli->setArg('c', resource_path('tools/favicon/config.json'));
         $cli->execute();
 
         if (!file_exists($testFile)) {
diff --git a/resources/tools/favicon/config.json b/resources/tools/favicon/config.json
new file mode 100644 (file)
index 0000000..1ff3c43
--- /dev/null
@@ -0,0 +1,35 @@
+{
+    "path": "/",
+    "appName": null,
+    "appShortName": null,
+    "appDescription": null,
+    "developerName": null,
+    "developerURL": null,
+    "dir": "auto",
+    "lang": "en-US",
+    "background": "#fff",
+    "theme_color": "#fff",
+    "appleStatusBarStyle": "black-translucent",
+    "display": "standalone",
+    "orientation": "any",
+    "start_url": "/?homescreen=1",
+    "version": "1.0",
+    "pixel_art": false,
+    "loadManifestWithCredentials": false,
+    "manifestRelativePaths": false,
+    "manifestMaskable": false,
+    "preferRelatedApplications": false,
+    "icons": {
+        "android": true,
+        "appleIcon": true,
+        "appleStartup": false,
+        "favicons": true,
+        "windows": true,
+        "yandex": false
+    },
+    "output": {
+        "images": true,
+        "files": true,
+        "html": true
+    }
+}