移除创建空白配置文件的逻辑

This commit is contained in:
Olia Lisa 2026-01-14 17:20:22 +08:00
parent 584d6ba143
commit 7ddf0842bd

View File

@ -52,12 +52,6 @@ create_config(){
# 检查jq是否安装
check_jq
# 如果配置文件不存在, 创建空白配置文件
local config_file="$script_dir/../conf/config.json" # 配置文件绝对路径
if [ ! -e "$config_file" ]; then
touch "$config_file"
fi
# 如果配置文件已存在, 询问是否重新生成
if [ -e "$config_file" ]; then
local regenerate