Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
keijiro committed Aug 17, 2021
1 parent 66c6f5c commit 0bcc3e2
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 6 deletions.
52 changes: 47 additions & 5 deletions Packages/jp.keijiro.libsoundio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@ How To Install
--------------

This package uses the [scoped registry] feature to resolve package
dependencies. Please add the following sections to the manifest file
(Packages/manifest.json).
dependencies. Please add the following lines to the manifest file
(`Packages/manifest.json`).

[scoped registry]: https://docs.unity3d.com/Manual/upm-scoped.html

<details>
<summary>.NET Standard 2.0 (Unity 2021.1 or earlier)</summary>

To the `scopedRegistries` section:

```
Expand All @@ -53,10 +56,11 @@ To the `scopedRegistries` section:
To the `dependencies` section:

```
"jp.keijiro.libsoundio": "1.0.2"
"org.nuget.system.memory": "4.5.3",
"jp.keijiro.libsoundio": "1.0.3"
```

After changes, the manifest file should look like below:
After the changes, the manifest file should look like:

```
{
Expand All @@ -73,6 +77,44 @@ After changes, the manifest file should look like below:
}
],
"dependencies": {
"jp.keijiro.libsoundio": "1.0.2",
"org.nuget.system.memory": "4.5.3",
"jp.keijiro.libsoundio": "1.0.3",
...
```
</details>

<details>
<summary>.NET Standard 2.1 (Unity 2021.2 or later)</summary>

To the `scopedRegistries` section:

```
{
"name": "Keijiro",
"url": "https://registry.npmjs.com",
"scopes": [ "jp.keijiro" ]
}
```

To the `dependencies` section:

```
"jp.keijiro.libsoundio": "1.0.3"
```

After the changes, the manifest file should look like:

```
{
"scopedRegistries": [
{
"name": "Keijiro",
"url": "https://registry.npmjs.com",
"scopes": [ "jp.keijiro" ]
}
],
"dependencies": {
"jp.keijiro.libsoundio": "1.0.3",
...
```
</details>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ How To Install
--------------

This package uses the [scoped registry] feature to resolve package
dependencies. Please add the following sections to the manifest file
dependencies. Please add the following lines to the manifest file
(`Packages/manifest.json`).

[scoped registry]: https://docs.unity3d.com/Manual/upm-scoped.html
Expand Down

0 comments on commit 0bcc3e2

Please sign in to comment.