feat: 增加模块已安装判断

This commit is contained in:
JaguarJack
2023-03-07 13:58:14 +08:00
parent b2408075c5
commit 4e104961d2
3 changed files with 9 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ class ModuleInstall
$installer->install();
} catch (\Exception|\Throwable $e) {
CatchAdmin::deleteModulePath($title);
// CatchAdmin::deleteModulePath($title);
throw new FailedException('安装失败: ' . $e->getMessage());
}