mirror of
https://github.com/flarum/core.git
synced 2025-07-23 09:41:26 +02:00
Tidy up default extension metadata
This commit is contained in:
@@ -14,6 +14,7 @@ use Illuminate\Contracts\Container\Container;
|
|||||||
use Symfony\Component\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Component\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Component\Console\Question\Question;
|
use Symfony\Component\Console\Question\Question;
|
||||||
|
use Flarum\Core\Application;
|
||||||
|
|
||||||
class GenerateExtensionCommand extends Command
|
class GenerateExtensionCommand extends Command
|
||||||
{
|
{
|
||||||
@@ -83,12 +84,17 @@ class GenerateExtensionCommand extends Command
|
|||||||
'version' => '0.1.0',
|
'version' => '0.1.0',
|
||||||
'author' => [
|
'author' => [
|
||||||
'name' => $authorName,
|
'name' => $authorName,
|
||||||
'email' => $authorEmail
|
'email' => $authorEmail,
|
||||||
|
'homepage' => ''
|
||||||
],
|
],
|
||||||
'license' => $license,
|
'license' => $license,
|
||||||
'require' => [
|
'require' => [
|
||||||
'php' => '>=5.4.0',
|
'flarum' => '>'.Application::VERSION
|
||||||
'flarum' => '>0.1.0'
|
],
|
||||||
|
'icon' => [
|
||||||
|
'name' => '',
|
||||||
|
'backgroundColor' => '',
|
||||||
|
'color' => ''
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user