mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
Fix Unity pathing and cleanup scripts
This commit is contained in:
parent
dc45248a1a
commit
d3ef6ef16c
BIN
dist/index.js.map
generated
vendored
BIN
dist/index.js.map
generated
vendored
Binary file not shown.
12
dist/platforms/windows/activate.ps1
vendored
12
dist/platforms/windows/activate.ps1
vendored
@ -1,7 +1,7 @@
|
|||||||
# Activates Unity
|
# Activates Unity
|
||||||
& "C:\Program Files\Unity\Hub\Editor\$Env:UNITY_VERSION\Editor\Unity.exe" -batchmode -quit -nographics `
|
& "$Env:UNITY_PATH\$Env:UNITY_VERSION\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 `
|
||||||
-projectPath "c:/BlankProject" `
|
-projectPath "c:/BlankProject" `
|
||||||
-logfile | Out-Host
|
-logfile -
|
||||||
|
2
dist/platforms/windows/build.ps1
vendored
2
dist/platforms/windows/build.ps1
vendored
@ -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 "C:\Program Files\Unity\Hub\Editor\$Env:UNITY_VERSION\Editor\Unity.exe" `
|
$process = Start-Process -FilePath "$Env:UNITY_PATH\$Env:UNITY_VERSION\Editor\Unity.exe" `
|
||||||
-ArgumentList $unityArgs `
|
-ArgumentList $unityArgs `
|
||||||
-PassThru `
|
-PassThru `
|
||||||
-NoNewWindow
|
-NoNewWindow
|
||||||
|
12
dist/platforms/windows/return_license.ps1
vendored
12
dist/platforms/windows/return_license.ps1
vendored
@ -1,7 +1,7 @@
|
|||||||
# Return the active Unity license
|
# Return the active Unity license
|
||||||
& "C:\Program Files\Unity\Hub\Editor\$Env:UNITY_VERSION\Editor\Unity.exe" -batchmode -quit -nographics `
|
& "$Env:UNITY_PATH\$Env:UNITY_VERSION\Editor\Unity.exe" -batchmode -quit -nographics `
|
||||||
-username $Env:UNITY_EMAIL `
|
-username $Env:UNITY_EMAIL `
|
||||||
-password $Env:UNITY_PASSWORD `
|
-password $Env:UNITY_PASSWORD `
|
||||||
-returnlicense `
|
-returnlicense `
|
||||||
-projectPath "c:/BlankProject" `
|
-projectPath "c:/BlankProject" `
|
||||||
-logfile | Out-Host
|
-logfile
|
||||||
|
Loading…
Reference in New Issue
Block a user