docs: redirect VCC link

This commit is contained in:
lilxyzw 2023-04-07 11:02:45 +09:00
parent f02443bc38
commit a972b9abf5
2 changed files with 21 additions and 2 deletions

View File

@ -3,7 +3,7 @@
## English ## English
If you have VCC installed, you can import it by doing **one of the following procedures**. If you have VCC installed, you can import it by doing **one of the following procedures**.
- Open `vcc://vpm/addRepo?url=https://lilxyzw.github.io/vpm-repos/vpm.json` in browser - Click [this](https://lilxyzw.github.io/vpm-repos/redirect.html)をクリックする
- Open `Setting - Packages - Add Repository` in the VCC window and add `https://lilxyzw.github.io/vpm-repos/vpm.json` - Open `Setting - Packages - Add Repository` in the VCC window and add `https://lilxyzw.github.io/vpm-repos/vpm.json`
To install this repository using the [VPM CLI](https://vcc.docs.vrchat.com/vpm/cli/), then open a command line and typethe following command. To install this repository using the [VPM CLI](https://vcc.docs.vrchat.com/vpm/cli/), then open a command line and typethe following command.
@ -15,7 +15,7 @@ vpm add repo https://lilxyzw.github.io/vpm-repos/vpm.json
## 日本語 ## 日本語
VCCをインストール済みの場合、以下の**どちらか一つ**の手順を行うことでインポートできます。 VCCをインストール済みの場合、以下の**どちらか一つ**の手順を行うことでインポートできます。
- `vcc://vpm/addRepo?url=https://lilxyzw.github.io/vpm-repos/vpm.json`をブラウザで開く - [こちら](https://lilxyzw.github.io/vpm-repos/redirect.html)をクリックする
- VCCのウィンドウで`Setting - Packages - Add Repository`の順に開き、`https://lilxyzw.github.io/vpm-repos/vpm.json`を追加 - VCCのウィンドウで`Setting - Packages - Add Repository`の順に開き、`https://lilxyzw.github.io/vpm-repos/vpm.json`を追加
[VPM CLI](https://vcc.docs.vrchat.com/vpm/cli/)を使用してインストールする場合、コマンドラインを開き以下のコマンドを入力してください。 [VPM CLI](https://vcc.docs.vrchat.com/vpm/cli/)を使用してインストールする場合、コマンドラインを開き以下のコマンドを入力してください。

19
redirect.html Normal file
View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="ja">
<head>
<title>Open In VCC</title>
<meta http-equiv="refresh" content="0; url=vcc://vpm/addRepo?url=https://lilxyzw.github.io/vpm-repos/vpm.json">
</head>
<body>
<div>
<p>
Add "https://lilxyzw.github.io/vpm-repos/vpm.json" in VCC. Click <a href="vcc://vpm/addRepo?url=https://lilxyzw.github.io/vpm-repos/vpm.json">here</a> if it does not open automatically.
</p>
</div>
<div>
<p>VCCで"https://lilxyzw.github.io/vpm-repos/vpm.json"を追加します。自動で開かない場合は<a href="vcc://vpm/addRepo?url=https://lilxyzw.github.io/vpm-repos/vpm.json">こちら</a>をクリックしてください。
</p>
</div>
</body>
</html>