diff --git a/src/entry.php b/src/entry.php index 622549c8..0bfbbece 100644 --- a/src/entry.php +++ b/src/entry.php @@ -2,14 +2,9 @@ declare(strict_types=1); -/** - * CLI Application 入口文件,先引入 Composer 组件 - * - * @noinspection PhpIncludeInspection - */ - use OneBot\Exception\ExceptionHandler; +// CLI Application 入口文件,先引入 Composer 组件 require_once((!is_dir(__DIR__ . '/../vendor')) ? getcwd() : (__DIR__ . '/..')) . '/vendor/autoload.php'; // 适配 Windows 的 conhost 中文显示,因为使用 micro 打包框架运行的时候在 Windows 运行中文部分会变成乱码