diff --git a/src/Command/CreateIconsCommand.php b/src/Command/CreateIconsCommand.php index e494393..9dc789a 100644 --- a/src/Command/CreateIconsCommand.php +++ b/src/Command/CreateIconsCommand.php @@ -135,6 +135,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int } $io->success('Icons have been generated. You can now use them in your application configuration file.'); + $io->writeln('Here is an example of a configuration file. Please indent it properly before using it in your application configuration file.'); + $io->writeln('It can be used in the manifest, shortcuts or widgets sections.'); + $io->writeln(''); $io->writeln(Yaml::dump([ 'yaml' => [ 'icons' => $generatedIcons, diff --git a/src/Command/CreateScreenshotCommand.php b/src/Command/CreateScreenshotCommand.php index f9a9720..e009a86 100644 --- a/src/Command/CreateScreenshotCommand.php +++ b/src/Command/CreateScreenshotCommand.php @@ -147,7 +147,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int $io->success('Screenshot saved. You can now use it in your application configuration file.'); $io->writeln(Yaml::dump([ 'pwa' => [ - 'screenshots' => [$config], + 'manifest' => [ + 'screenshots' => [$config], + ], ], ], 10, 2));