Update README.md

This commit is contained in:
jorpelae
2024-11-07 15:46:20 +09:00
committed by Caelan
parent 4f46ce56e2
commit c07f9842f0

View File

@@ -3,8 +3,8 @@ This project integrates Velopack into unity by way of a [nuget for Unity](https:
## How to use
1. Clone this repository
2. Open the project in Unity (2022.3.51f1)
*Opening the project for the first time may result in errors. Please ignore them.*
2. Open the project in Unity (2022.3.51f1)
**Opening the project for the first time may result in errors. Please ignore them.**
3. Build the Unity project to \Build folder
4. (With Visual Studio) Open BuildVisualStudioSolution\UnityMonoSample.sln and build solution
4. (With msbuild) `msbuild .\BuildVisualStudioSolution\BuildVisualStudioSolution.sln /p:Configuration=Master /p:Platform=x64`
@@ -88,4 +88,4 @@ updateManager.WaitExitThenApplyUpdates(...);
UnityEngine.Application.Quit();
```
This will work because `WaitExitThenApplyUpdates` will not call `Environment.Exit`, but it will prepare up the Velopack updater to install the update when unity closes.
This will work because `WaitExitThenApplyUpdates` will not call `Environment.Exit`, but it will prepare up the Velopack updater to install the update when unity closes.