Added Linux variant of the command

This commit is contained in:
raccoon
2026-05-05 01:38:32 +05:00
parent 6da4c79283
commit bab0464cf4

View File

@@ -41,10 +41,21 @@ The repository have separate branches for separate content types, the only diffe
1. Check that you have git-lfs installed `git lfs status` 1. Check that you have git-lfs installed `git lfs status`
2. Pull existing repo `git pull https://gitlab.com/ProcyonLotor/vrchat-template.git` and optionally pull all LFS objects `git lfs fetch --all` 2. Pull existing repo `git pull https://gitlab.com/ProcyonLotor/vrchat-template.git` and optionally pull all LFS objects `git lfs fetch --all`
(repo will take much more disk space, but will have complete project history) (repo will take much more disk space, but will have complete project history)
3. (Optional) Some VPM packages might come from Community Repositories, 3. (Optional) Some VPM packages may come from Community Repositories,
add them from project's [vpm-repositories.txt](./vpm-repositories.txt) file to CreatorCompanion, add them from project's [vpm-repositories.txt](./vpm-repositories.txt) file to CreatorCompanion,
or run this command in project's folder `FOR /F %L IN (.\vpm-repositories.txt) DO vpm add repo %L` or run this command in project's folder on Windows
(command requires `vpm` tool installed, see [vpm cli](https://vcc.docs.vrchat.com/vpm/cli/))
```cmd
FOR /F %l IN (.\vpm-repositories.txt) DO vpm add repo %l
```
and Linux
```bash
for l in $(cat ./vpm-repositories.txt); do vpm add repo "$l"; done
```
> The command requires `vpm` tool installed, see [vpm cli](https://vcc.docs.vrchat.com/vpm/cli/)
> **IMPORTANT**: When opening a previously worked on project on a new machine, Unity may warn you about script errors and suggest you enter Safe Mode, > **IMPORTANT**: When opening a previously worked on project on a new machine, Unity may warn you about script errors and suggest you enter Safe Mode,
> this is because VPM has not loaded yet and didn't resolved the required packages, ignore the errors and continue loading. > this is because VPM has not loaded yet and didn't resolved the required packages, ignore the errors and continue loading.