Skip to content

Commit

Permalink
Fix lvl (#44)
Browse files Browse the repository at this point in the history
* 修正了部分文字显示错误

* fix
  • Loading branch information
Wing924 authored Oct 14, 2022
1 parent c5568b8 commit 36a8e92
Show file tree
Hide file tree
Showing 2 changed files with 1,416 additions and 1,416 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cat > "$levels_json"
for i in $(seq 0 2 ${#NEW_KEYS[*]}); do
act="${NEW_KEYS[$i]}"
key="${NEW_KEYS[$(($i + 1))]}"
cat "$levels_json" | jq ".[] | select(.Key == \"$key\") | (.Key |= \"act$act \" + .) | (.id |= -1 + .)"
cat "$levels_json" | jq ".[] | select(.Key == \"$key\") | (.Key |= \"act$act \" + .) | (.id |= -1)"
done | jq -s > "$new_keys_json"

cat "$levels_json" "$new_keys_json" | jq '.[]' | jq -s
Loading

0 comments on commit 36a8e92

Please sign in to comment.