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

Installer: fixed check for Unity installation to also detect Hub version

parent f048cde3
No related branches found
No related tags found
No related merge requests found
......@@ -327,7 +327,7 @@ Install-Software -Name "Unity" -InstallScript {
Write-Log "Unity installed"
} -CheckInstalled {
Test-Path "C:\Program Files\Unity 2021.3.31f1\Editor\Unity.exe"
Test-Path "C:\Program Files\Unity 2021.3.31f1\Editor\Unity.exe" -or Test-Path "C:\Program Files\Unity\Hub\Editor\Unity 2021.3.31f1\Editor\Unity.exe"
}
### Unity License ###
......
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