diff --git a/install.sh b/install.sh index 579512c..a2dffdf 100644 --- a/install.sh +++ b/install.sh @@ -131,32 +131,11 @@ deploy_files() { cp -rf "${BUILD_DIR}/templates" "${INSTALL_DIR}/templates" cp -rf "${BUILD_DIR}/static" "${INSTALL_DIR}/static" - # 复制配置文件(仅当配置目录下不存在时预生成) - if [[ ! -f "${CONFIG_DIR}/config.toml" ]]; then - info "预生成默认配置文件 ..." - cat > "${CONFIG_DIR}/config.toml" <