feat: module new feat

This commit is contained in:
JaguarJack
2023-01-10 17:46:05 +08:00
parent e5e1f8bc55
commit c2f68d349f
7 changed files with 682 additions and 10 deletions

View File

@@ -5,6 +5,7 @@ namespace Modules\Develop\Support;
use Catch\CatchAdmin;
use Catch\Exceptions\FailedException;
use Catch\Facade\Zipper;
use Illuminate\Support\Facades\File;
/**
* module install
@@ -63,5 +64,7 @@ class ModuleInstall
$zipRepository->getArchive()->extractTo(CatchAdmin::getModulePath($title));
$this->installWithTitle($title);
File::delete($zip);
}
}