mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-06 18:12:50 +08:00
修复更新逻辑创建目录
This commit is contained in:
@@ -248,6 +248,7 @@ class AdminUpdateServiceBase
|
||||
$now_file_path = $now_dir . '/' . $file_path;
|
||||
$last_file_path = $last_version_dir . '/' . $file_path;
|
||||
|
||||
PathTools::intiDir($now_file_path);
|
||||
if ($type == 'delete') {
|
||||
$output->writeln('删除文件' . $now_file_path);
|
||||
unlink($now_file_path);
|
||||
@@ -261,7 +262,6 @@ class AdminUpdateServiceBase
|
||||
}
|
||||
|
||||
// 检测now的composer依赖和最新的composer依赖
|
||||
|
||||
$last_composer_json = file_get_contents($last_version_dir . '/composer.json');
|
||||
|
||||
$output->writeln($last_composer_json);
|
||||
|
||||
@@ -12,12 +12,12 @@ use think\console\Output;
|
||||
|
||||
class VersionBase extends Command
|
||||
{
|
||||
public const VERSION = 'v2.0.76';
|
||||
public const VERSION = 'v2.0.77';
|
||||
|
||||
public const LAYUI_VERSION = '2.8.17';
|
||||
|
||||
public const COMMENT = [
|
||||
'修复更新逻辑',
|
||||
'修复更新逻辑创建目录',
|
||||
'发布新版本',
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user