Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
t-mat committed Nov 1, 2023
1 parent 9f39c67 commit 616081b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
Windows batch file which invokes appropriate version of `Unity.exe`.
Windows batch file which invokes appropriate version of `Unity.exe` without UnityHub.


Prerequisites
-------------

- Windows 10/11
- `pwsh` ([PowerShell7](https://microsoft.com/PowerShell))
- Unity 2019 or greater.


Setup
Expand All @@ -8,7 +16,7 @@ You can setup your Unity Project with the following commands:

```
pushd "\PATH\TO\Your\UnityProject\"
where ProjectSettings:ProjectVersion.txt && curl.exe -JOL https://raw.githubusercontent.com/t-mat/OpenUnityProject/pwsh/OpenUnityProject.cmd
where.exe ProjectSettings:ProjectVersion.txt && curl.exe -JOL https://raw.githubusercontent.com/t-mat/OpenUnityProject/main/OpenUnityProject.cmd
.\OpenUnityProject.cmd
```

Expand All @@ -35,7 +43,8 @@ Run copied version of `OpenUnityProject.cmd`.
- You can invoke it from Explorer or Command prompt.

It will read `ProjectSettings/ProjectVersion.txt`, find appropriate version of `Unity.exe` and invoke it.
- Or it reports error.
- Or it reports an error.
- It tries to avoid to launch UnityHub.


Clone & Build
Expand Down

0 comments on commit 616081b

Please sign in to comment.