Remove debug and fix environment variables for activation/deactivation scripts

pull/305/head
Andrew Kahr 2022-01-24 01:43:50 -08:00
parent 47e600b419
commit 2baaed1013
5 changed files with 7 additions and 9 deletions

2
dist/index.js vendored
View File

@ -452,7 +452,7 @@ class Docker {
--rm \
--env UNITY_LICENSE \
--env UNITY_LICENSE_FILE \
--env UNITY_EMAIL="${process.env.UNITY_EMAIL}" \
--env UNITY_EMAIL \
--env UNITY_PASSWORD \
--env UNITY_SERIAL="${unitySerial}" \
--env UNITY_VERSION="${version}" \

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,6 @@
# Activates Unity
Write-Output "DEBUG: "
Write-Output $Env:UNITY_USER
& "C:\Program Files\Unity\Hub\Editor\$Env:UNITY_VERSION\Editor\Unity.exe" -batchmode -quit -nographics `
-username $Env:UNITY_USER `
-password $Env:UNITY_PASS `
-username $Env:UNITY_EMAIL `
-password $Env:UNITY_PASSWORD `
-serial $Env:UNITY_SERIAL `
-logfile | Out-Host

View File

@ -1,6 +1,6 @@
# Return the active Unity license
& "C:\Program Files\Unity\Hub\Editor\$Env:UNITY_VERSION\Editor\Unity.exe" -batchmode -quit -nographics `
-username $Env:UNITY_USER `
-password $Env:UNITY_PASS `
-username $Env:UNITY_EMAIL `
-password $Env:UNITY_PASSWORD `
-returnlicense `
-logfile | Out-Host

View File

@ -131,7 +131,7 @@ class Docker {
--rm \
--env UNITY_LICENSE \
--env UNITY_LICENSE_FILE \
--env UNITY_EMAIL="${process.env.UNITY_EMAIL}" \
--env UNITY_EMAIL \
--env UNITY_PASSWORD \
--env UNITY_SERIAL="${unitySerial}" \
--env UNITY_VERSION="${version}" \