From: Vincent Vanwaelscappel Date: Mon, 29 Aug 2022 18:10:24 +0000 (+0200) Subject: wait #5422 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=343d9cbc82e8ee003a9e0e5a7a34b7b8ef2caf23;p=fluidbook-toolbox.git wait #5422 @0.5 --- diff --git a/app/Http/Controllers/Admin/Operations/Tools/Favicon.php b/app/Http/Controllers/Admin/Operations/Tools/Favicon.php index 11c8d306f..956436139 100644 --- a/app/Http/Controllers/Admin/Operations/Tools/Favicon.php +++ b/app/Http/Controllers/Admin/Operations/Tools/Favicon.php @@ -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 index 000000000..1ff3c433f --- /dev/null +++ b/resources/tools/favicon/config.json @@ -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 + } +}