Revert "refactor: core plugins to plugins-core"

This reverts commit c0b6ee1763.
This commit is contained in:
Xboard
2026-04-19 08:06:51 +00:00
parent c36054b970
commit e61e3b6563
25 changed files with 107 additions and 137 deletions
+5
View File
@@ -7,6 +7,9 @@ use App\Services\UpdateService;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Artisan;
use App\Services\Plugin\PluginManager;
use App\Models\Plugin;
use Illuminate\Support\Str;
use App\Console\Commands\XboardInstall;
class XboardUpdate extends Command
{
@@ -44,6 +47,8 @@ class XboardUpdate extends Command
$this->info('正在导入数据库请稍等...');
Artisan::call("migrate", ['--force' => true]);
$this->info(Artisan::output());
$this->info('正在检查内置插件文件...');
XboardInstall::restoreProtectedPlugins($this);
$this->info('正在检查并安装默认插件...');
PluginManager::installDefaultPlugins();
$this->info('默认插件检查完成');