Skip to content
Snippets Groups Projects
Commit 38840681 authored by Samuel Truman's avatar Samuel Truman
Browse files

Updated instructions for user

parent 4db2c2f8
No related branches found
No related tags found
No related merge requests found
......@@ -333,9 +333,9 @@ Install-Software -Name "Unity" -InstallScript {
### Unity License ###
Write-Host ""
Write-Host "For VIA-VR to work you need a Unity account and a valid license. I'll now start the Unity Hub." -ForegroundColor Yellow
Write-Host "Please sign in or create an account." -ForegroundColor Yellow
Write-Host "Please sign in or create an account. You do not have to install Unity." -ForegroundColor Yellow
Write-Host "Once logged in, go to preferences -> licenses and make sure you have a valid license (e.g. a free personal license)." -ForegroundColor Yellow
Write-Host "Should anything go wrong please continue with the installation. You can manually start the Unity Hub, login, and get a license later."
Write-Host "Should anything go wrong please quit Unity Hub (also righ-click it in the system tray and selct 'quit Unity Hub'). You can then manually try again to start the Unity Hub, login, and get a license."
$null = $Host.UI.RawUI.FlushInputBuffer() # prevents previous repeated enter presses to skip pause
Pause
Start-Process -RedirectStandardOutput "null" -FilePath "C:\Program Files\Unity Hub\Unity Hub.exe"
......@@ -344,7 +344,7 @@ Write-Host "Please press enter and continue once you have a valid Unity license.
$null = $Host.UI.RawUI.FlushInputBuffer() # prevents previous repeated enter presses to skip pause
Pause
Write-Host "Starting and stopping Unity once. You don't have to do anything." -ForegroundColor Yellow
Write-Host "Starting and stopping Unity once. You don't have to do anything. You should not get any license error. If you do please check your license as mentioned above." -ForegroundColor Yellow
Start-Process -FilePath "C:\Program Files\Unity 2021.3.31f1\Editor\Unity.exe"
Start-Sleep -Seconds 20 # Wait a few seconds (allows Unity to initialize)
$process = Get-Process | Where-Object { $_.Path -eq "C:\Program Files\Unity 2021.3.31f1\Editor\Unity.exe" }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment