fix: ensure config.json is generated if it does not exist when saving a new configuration
Main / build (push) Waiting to run

This commit is contained in:
2026-07-08 00:52:58 +08:00
parent 1f62620be3
commit b0aa99f394
+1 -1
View File
@@ -356,7 +356,7 @@ create() {
[[ $is_config_file ]] && is_no_del_msg=1 && del $is_config_file
# save json to file
cat <<<$is_new_json >$is_json_file
if [[ $is_new_install ]]; then
if [[ ! -f $is_config_json ]]; then
# config.json
create config.json
fi