fix
This commit is contained in:
parent
bcf8b6621b
commit
798c687547
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Kernel",
|
"name": "Kernel",
|
||||||
"version": "0.2",
|
"version": "0.1",
|
||||||
"author": "ITGuild",
|
"author": "ITGuild",
|
||||||
"slug": "kernel",
|
"slug": "kernel",
|
||||||
"type": "kernel",
|
"type": "kernel",
|
||||||
|
@ -15,7 +15,7 @@ $form->field(\itguild\forms\inputs\Select::class, "files[]", [
|
|||||||
])
|
])
|
||||||
->setLabel("Дополнительные файлы")
|
->setLabel("Дополнительные файлы")
|
||||||
->setOptions([
|
->setOptions([
|
||||||
'.env.example' => '.env.example',
|
'env.example' => 'env.example',
|
||||||
'bootstrap.php' => 'bootstrap',
|
'bootstrap.php' => 'bootstrap',
|
||||||
'composer.json' => 'composer.json',
|
'composer.json' => 'composer.json',
|
||||||
])
|
])
|
||||||
|
@ -75,7 +75,7 @@ class KernelService
|
|||||||
|
|
||||||
foreach ($files as $file) {
|
foreach ($files as $file) {
|
||||||
Debug::prn($file);
|
Debug::prn($file);
|
||||||
if ($file === 'bootstrap') {
|
if ($file === 'bootstrap.php') {
|
||||||
Debug::prn(123);
|
Debug::prn(123);
|
||||||
$this->files->recursiveRemoveDir(ROOT_DIR . '/bootstrap');
|
$this->files->recursiveRemoveDir(ROOT_DIR . '/bootstrap');
|
||||||
$this->files->copyKernelFolder($tmpKernelDirFull . 'bootstrap' , ROOT_DIR . '/bootstrap');
|
$this->files->copyKernelFolder($tmpKernelDirFull . 'bootstrap' , ROOT_DIR . '/bootstrap');
|
||||||
|
Loading…
Reference in New Issue
Block a user