diff --git a/DSTManager.sh b/DSTManager.sh index e418bcc..1435b11 100755 --- a/DSTManager.sh +++ b/DSTManager.sh @@ -11,7 +11,7 @@ set -eu # 这个脚本里将会读取其他的全部shell脚本, 所以以下全局常量/变量在其他shell脚本里可用 declare OS='MacOS' -declare -r SCRIPT_VERSION='v1.5.3' +declare -r SCRIPT_VERSION='v1.5.4' declare -r ARCHITECTURE=$(getconf LONG_BIT) declare -r REPO_ROOT_DIR="$HOME/DSTServerManager" # DST服务端文件夹 diff --git a/bin/editor/configure_world.lua b/bin/editor/configure_world.lua index 682a9f8..a44542b 100755 --- a/bin/editor/configure_world.lua +++ b/bin/editor/configure_world.lua @@ -120,12 +120,12 @@ function configure_model(table, prefix, is_generation) if answer == false then break end local target = select_one(option_array, "info", "请选一个选项", true) - if target = "返回" then break end + if target == "返回" then break end local value_type = table[group_name][target]["type"] local value_options = world_value_types[value_type]["zh"] local new_value = select_one(value_options, "info", "请选一个选项", true) - if new_value = "返回" then break end + if new_value == "返回" then break end table[group_name][target]["value"] = translate_2key(world_value_types, value_type, new_value) end diff --git a/bin/editor/edit_cluster_ini.lua b/bin/editor/edit_cluster_ini.lua index 3f982fb..05ef4f8 100755 --- a/bin/editor/edit_cluster_ini.lua +++ b/bin/editor/edit_cluster_ini.lua @@ -76,7 +76,7 @@ function configure_model(table) local option_array = table["array"] local target = select_one(option_array, "info", "请选一个选项", true) - if target = "返回" then break end + if target == "返回" then break end local value_type = table[target]["type"] local new_value diff --git a/bin/editor/edit_shard_ini.lua b/bin/editor/edit_shard_ini.lua index ce3aea2..cd07c8e 100755 --- a/bin/editor/edit_shard_ini.lua +++ b/bin/editor/edit_shard_ini.lua @@ -68,7 +68,7 @@ function configure_model(table) local option_array = table["array"] local target = select_one(option_array, "info", "请选一个选项", true) - if target = "返回" then break end + if target == "返回" then break end local value_type = table[target]["type"] local new_value diff --git "a/docs/\346\233\264\346\226\260\346\227\245\345\277\227.md" "b/docs/\346\233\264\346\226\260\346\227\245\345\277\227.md" index f63f377..89dc26d 100644 --- "a/docs/\346\233\264\346\226\260\346\227\245\345\277\227.md" +++ "b/docs/\346\233\264\346\226\260\346\227\245\345\277\227.md" @@ -1,5 +1,9 @@ # 更新日志 +## 1.5.4 + +- 修正运算符typo + ## 1.5.3 - 添加更多的返回