Skip to content

Commit

Permalink
refactor: エンジンマニフェストの統合処理を改善
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba committed Nov 15, 2024
1 parent 4e5033b commit bcb480a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tools/process_voicevox_resource.bash
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ cp -r "${DOWNLOAD_RESOURCE_PATH}/character_info" resources/character_info
python "${DOWNLOAD_RESOURCE_PATH}/scripts/clean_character_info.py" \
--character_info_dir resources/character_info/

# エンジンマニフェストに含まれるダミーの情報を上書きする
jq -s '.[0] * .[1]' engine_manifest.json "${DOWNLOAD_RESOURCE_PATH}/engine/engine_manifest.json" \
> engine_manifest.json.tmp
mv engine_manifest.json.tmp engine_manifest.json
# エンジンマニフェストを統合する
python tools/merge_engine_manifest.py \
engine_manifest.json \
"${DOWNLOAD_RESOURCE_PATH}/engine/engine_manifest.json" \
engine_manifest.json

# エンジンとリソースの更新情報を統合する
python tools/merge_update_infos.py \
Expand Down

0 comments on commit bcb480a

Please sign in to comment.