refactor:在文件冲突处理完毕后再执行模块启用脚本

This commit is contained in:
妙码生花 2022-12-04 00:13:41 +08:00
parent 180b0007c5
commit 3ed549ecdc

View File

@ -274,13 +274,14 @@ class Manage
public function enable(string $trigger)
{
// 执行启用脚本
Server::execEvent($this->uid, 'enable');
// 安装 WebBootstrap
Server::installWebBootstrap($this->uid, $this->modulesDir);
$this->conflictHandle($trigger);
// 执行启用脚本
Server::execEvent($this->uid, 'enable');
$this->dependUpdateHandle();
}