feat:优化模块安装,提供选择器

This commit is contained in:
JaguarJack
2023-07-25 10:36:16 +08:00
parent d5ed1dd461
commit 19fd75d171
5 changed files with 254 additions and 2 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace Modules\Develop;
use Catch\Support\Module\Installer as ModuleInstaller;
use Modules\System\Providers\SystemServiceProvider;
class Installer extends ModuleInstaller
{
protected function info(): array
{
// TODO: Implement info() method.
return [
'title' => '系统管理',
'name' => 'system',
'path' => 'system',
'keywords' => '系统管理, system',
'description' => '系统管理模块',
'provider' => SystemServiceProvider::class
];
}
protected function requirePackages(): void
{
// TODO: Implement requirePackages() method.
}
protected function removePackages(): void
{
// TODO: Implement removePackages() method.
}
}