From bab0464cf4129a497fc30061dc564df90014384e Mon Sep 17 00:00:00 2001 From: raccoon Date: Tue, 5 May 2026 01:38:32 +0500 Subject: [PATCH] Added Linux variant of the command --- README.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6455476..819c0a7 100644 --- a/README.md +++ b/README.md @@ -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` 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) -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, -or run this command in project's folder `FOR /F %L IN (.\vpm-repositories.txt) DO vpm add repo %L` -(command requires `vpm` tool installed, see [vpm cli](https://vcc.docs.vrchat.com/vpm/cli/)) +or run this command in project's folder on Windows + + ```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, > this is because VPM has not loaded yet and didn't resolved the required packages, ignore the errors and continue loading.