chore: display unsupported URI schemes as text

This commit is contained in:
lilxyzw 2023-04-07 10:36:59 +09:00
parent 02b842cbf8
commit f02443bc38

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**.
- Click <button onClick="OpenInVCC()">this</button> - Open `vcc://vpm/addRepo?url=https://lilxyzw.github.io/vpm-repos/vpm.json` in browser
- 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をインストール済みの場合、以下の**どちらか一つ**の手順を行うことでインポートできます。
- <button onClick="OpenInVCC()">こちら</button>をクリックする - `vcc://vpm/addRepo?url=https://lilxyzw.github.io/vpm-repos/vpm.json`をブラウザで開く
- 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/)を使用してインストールする場合、コマンドラインを開き以下のコマンドを入力してください。
@ -27,9 +27,3 @@ vpm add repo https://lilxyzw.github.io/vpm-repos/vpm.json
# Packages # Packages
- [lilToon](https://github.com/lilxyzw/lilToon) (1.3.7 or higher) - [lilToon](https://github.com/lilxyzw/lilToon) (1.3.7 or higher)
- [lilAvatarUtils](https://github.com/lilxyzw/lilAvatarUtils) - [lilAvatarUtils](https://github.com/lilxyzw/lilAvatarUtils)
<script>
function OpenInVCC(){
window.location.href = https://lilxyzw.github.io/vpm-repos/vpm.json
}
</script>