mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-14 04:05:35 +08:00
add plugin:pack command and pack events
This commit is contained in:
@@ -44,7 +44,7 @@ class PluginMeta implements \JsonSerializable
|
||||
// 设置名称
|
||||
$this->name = $meta['name'] ?? '<anonymous>';
|
||||
// 设置版本
|
||||
$this->version = $meta['version'] ?? '1.0.0';
|
||||
$this->version = $meta['version'] ?? '1.0-dev';
|
||||
// 设置描述
|
||||
$this->description = $meta['description'] ?? '';
|
||||
// 设置依赖
|
||||
@@ -52,7 +52,7 @@ class PluginMeta implements \JsonSerializable
|
||||
$this->metas = $meta;
|
||||
// 设置插件根目录
|
||||
$this->plugin_type = $plugin_type;
|
||||
// 设置插件类型
|
||||
// 设置插件根目录
|
||||
$this->root_dir = $root_dir;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user