From 1cf2dc3d86ecff354dbb0ea559316ba605acfee3 Mon Sep 17 00:00:00 2001 From: stasbilay02 Date: Wed, 18 Dec 2024 16:52:09 +0300 Subject: [PATCH] fix kernel update --- kernel/manifest.json | 2 +- kernel/services/KernelService.php | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) 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; }