From cda80d3d48275be2c6c5561d4092e08e98b9ed87 Mon Sep 17 00:00:00 2001 From: Hiroshiba Date: Tue, 17 Oct 2023 02:52:27 +0900 Subject: [PATCH] =?UTF-8?q?download=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89?= =?UTF-8?q?=E3=83=BBdownload=E5=AE=9F=E8=A1=8C=E3=83=90=E3=82=A4=E3=83=8A?= =?UTF-8?q?=E3=83=AA=E3=81=AFdownload=E3=81=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workflows/build_and_deploy_downloader.yml | 12 +++++------ README.md | 20 +++++++++---------- example/python/README.md | 14 ++++++------- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/build_and_deploy_downloader.yml b/.github/workflows/build_and_deploy_downloader.yml index ad912d49e..9daeadea4 100644 --- a/.github/workflows/build_and_deploy_downloader.yml +++ b/.github/workflows/build_and_deploy_downloader.yml @@ -46,23 +46,23 @@ jobs: strategy: matrix: include: - - name: downloader-windows-x64.exe + - name: download-windows-x64.exe target: x86_64-pc-windows-msvc os: windows-2019 - - name: downloader-linux-x64 + - name: download-linux-x64 target: x86_64-unknown-linux-gnu os: ubuntu-20.04 - - name: downloader-linux-arm64 + - name: download-linux-arm64 target: aarch64-unknown-linux-gnu os: ubuntu-20.04 - - name: downloader-osx-x64 + - name: download-osx-x64 target: x86_64-apple-darwin os: macos-11 - - name: downloader-osx-arm64 + - name: download-osx-arm64 target: aarch64-apple-darwin os: macos-11 @@ -91,7 +91,7 @@ jobs: Windows) exe_suffix=.exe;; Linux | macOS) exe_suffix=;; esac - mv $"target/${{ matrix.target }}/release/downloader$exe_suffix" ./${{ matrix.name }} + mv $"target/${{ matrix.target }}/release/download$exe_suffix" ./${{ matrix.name }} - name: Code signing (Windows) if: startsWith(matrix.os, 'windows') && inputs.code_signing diff --git a/README.md b/README.md index 718ac5c54..b9f257d25 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ Downloader を用いて環境構築を行う場合 PowerShell で下記コマンドを実行してください ```PowerShell -Invoke-WebRequest https://github.com/VOICEVOX/voicevox_core/releases/latest/download/downloader-windows-x64.exe -OutFile ./downloader.exe -./downloader.exe +Invoke-WebRequest https://github.com/VOICEVOX/voicevox_core/releases/latest/download/download-windows-x64.exe -OutFile ./download.exe +./download.exe ``` ### Linux/macOS の場合 @@ -44,18 +44,18 @@ Invoke-WebRequest https://github.com/VOICEVOX/voicevox_core/releases/latest/down [最新のリリース](https://github.com/VOICEVOX/voicevox_core/releases/latest)から環境に合わせてダウンローダーのバイナリをダウンロードしてください。 現在利用可能なのは以下の 4 つです。 -- downloader-linux-arm64 -- downloader-linux-x64 -- downloader-osx-arm64 -- downloader-osx-x64 +- download-linux-arm64 +- download-linux-x64 +- download-osx-arm64 +- download-osx-x64 以下は Linux の x64 での実行例です。 ```bash -binary=downloader-linux-x64 -curl -sSfL https://github.com/VOICEVOX/voicevox_core/releases/latest/download/${binary} -o downloader -chmod +x downloader -./downloader +binary=download-linux-x64 +curl -sSfL https://github.com/VOICEVOX/voicevox_core/releases/latest/download/${binary} -o download +chmod +x download +./download ``` 詳細な Downloader の使い方については [こちら](./docs/downloader.md) を参照してください diff --git a/example/python/README.md b/example/python/README.md index fa5472374..e2097e137 100644 --- a/example/python/README.md +++ b/example/python/README.md @@ -20,14 +20,14 @@ https://github.com/VOICEVOX/voicevox_core/releases/latest linux/mac の場合 -downloader-linux-x64 のところはアーキテクチャや OS によって適宜読み替えてください。 +download-linux-x64 のところはアーキテクチャや OS によって適宜読み替えてください。 https://github.com/VOICEVOX/voicevox_core/releases/latest#%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%80 ```console -❯ binary=downloader-linux-x64 -❯ curl -sSfL https://github.com/VOICEVOX/voicevox_core/releases/latest/download/${binary} -o downloader -❯ chmod +x downloader -❯ ./downloader -o ./example/python +❯ binary=download-linux-x64 +❯ curl -sSfL https://github.com/VOICEVOX/voicevox_core/releases/latest/download/${binary} -o download +❯ chmod +x download +❯ ./download -o ./example/python ❯ # いくつかのファイルは不要なので消すことができます ❯ #rm -r ./example/python/{model,VERSION,*voicevox_core*} ``` @@ -35,8 +35,8 @@ https://github.com/VOICEVOX/voicevox_core/releases/latest#%E3%83%80%E3%82%A6%E3% windows の場合 ```console -❯ Invoke-WebRequest https://github.com/VOICEVOX/voicevox_core/releases/latest/download/downloader-windows-x64.exe -OutFile ./downloader.exe -❯ ./downloader -o ./example/python +❯ Invoke-WebRequest https://github.com/VOICEVOX/voicevox_core/releases/latest/download/download-windows-x64.exe -OutFile ./download.exe +❯ ./download -o ./example/python ❯ # いくつかのファイルは不要なので消すことができます ❯ #Remove-Item -Recurse ./example/python/model,./example/python/VERSION,./example/python/*voicevox_core* ```