diff --git a/kernel/manifest.json b/kernel/manifest.json index 3cccfd0..6521135 100644 --- a/kernel/manifest.json +++ b/kernel/manifest.json @@ -1,6 +1,6 @@ { "name": "Kernel", - "version": "0.1", + "version": "0.1.1", "author": "ITGuild", "slug": "kernel", "type": "kernel", diff --git a/kernel/services/KernelService.php b/kernel/services/KernelService.php index 0441ba5..28c42fc 100644 --- a/kernel/services/KernelService.php +++ b/kernel/services/KernelService.php @@ -74,9 +74,7 @@ class KernelService $this->files->copyKernelFolder($tmpKernelDirFull . 'kernel' , ROOT_DIR . "/kernel"); foreach ($files as $file) { - Debug::prn($file); if ($file === 'bootstrap.php') { - Debug::prn(123); $this->files->recursiveRemoveDir(ROOT_DIR . '/bootstrap'); $this->files->copyKernelFolder($tmpKernelDirFull . 'bootstrap' , ROOT_DIR . '/bootstrap'); } @@ -91,7 +89,6 @@ class KernelService $this->files->recursiveRemoveDir($tmpKernelDirFull); unlink(ROOT_DIR . $path); - Debug::dd("update kernel success"); return true; }