Fix Unity pathing
parent
d3ef6ef16c
commit
572b30cbc7
|
@ -1,5 +1,5 @@
|
||||||
# Activates Unity
|
# Activates Unity
|
||||||
& "$Env:UNITY_PATH\$Env:UNITY_VERSION\Editor\Unity.exe" -batchmode -quit -nographics `
|
& "$Env:UNITY_PATH\Editor\Unity.exe" -batchmode -quit -nographics `
|
||||||
-username $Env:UNITY_EMAIL `
|
-username $Env:UNITY_EMAIL `
|
||||||
-password $Env:UNITY_PASSWORD `
|
-password $Env:UNITY_PASSWORD `
|
||||||
-serial $Env:UNITY_SERIAL `
|
-serial $Env:UNITY_SERIAL `
|
||||||
|
|
|
@ -156,7 +156,7 @@ $unityArgs = @(
|
||||||
# Remove null items as that will fail the Start-Process call
|
# Remove null items as that will fail the Start-Process call
|
||||||
$unityArgs = $unityArgs | Where-Object { $_ -ne $null }
|
$unityArgs = $unityArgs | Where-Object { $_ -ne $null }
|
||||||
|
|
||||||
$process = Start-Process -FilePath "$Env:UNITY_PATH\$Env:UNITY_VERSION\Editor\Unity.exe" `
|
$process = Start-Process -FilePath "$Env:UNITY_PATH\Editor\Unity.exe" `
|
||||||
-ArgumentList $unityArgs `
|
-ArgumentList $unityArgs `
|
||||||
-PassThru `
|
-PassThru `
|
||||||
-NoNewWindow
|
-NoNewWindow
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Return the active Unity license
|
# Return the active Unity license
|
||||||
& "$Env:UNITY_PATH\$Env:UNITY_VERSION\Editor\Unity.exe" -batchmode -quit -nographics `
|
& "$Env:UNITY_PATH\Editor\Unity.exe" -batchmode -quit -nographics `
|
||||||
-username $Env:UNITY_EMAIL `
|
-username $Env:UNITY_EMAIL `
|
||||||
-password $Env:UNITY_PASSWORD `
|
-password $Env:UNITY_PASSWORD `
|
||||||
-returnlicense `
|
-returnlicense `
|
||||||
|
|
Loading…
Reference in New Issue