Added uba_launch script
This commit is contained in:
parent
6ce90995c3
commit
9785f10666
27
scripts/uba_launch.ps1
Normal file
27
scripts/uba_launch.ps1
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
$path_scripts = $PSScriptRoot
|
||||||
|
$path_helpers = join-path $path_scripts 'helpers'
|
||||||
|
$path_root = split-path -Parent -Path $path_scripts
|
||||||
|
$path_ue = join-path $path_root 'UE'
|
||||||
|
|
||||||
|
$UbaAgent = join-path $path_ue 'Engine\Binaries\Win64\UnrealBuildAccelerator\x64\UbaAgent.exe'
|
||||||
|
|
||||||
|
$uba_quic = '-quic'
|
||||||
|
$uba_host = '-host'
|
||||||
|
$uba_listen = '-listen'
|
||||||
|
$uba_name = '-name'
|
||||||
|
$uba_no_poll = '-no_poll'
|
||||||
|
$uba_store_raw = '-storeraw'
|
||||||
|
$uba_max_cpu = '-maxcpu'
|
||||||
|
$uba_mul_cpu = '-mulcpu'
|
||||||
|
$uba_memwait = '-maxwait'
|
||||||
|
$uba_zone = '-zone'
|
||||||
|
|
||||||
|
|
||||||
|
$args = @()
|
||||||
|
# $args += "$uba_host=192.168.1.148"
|
||||||
|
$args += $uba_listen
|
||||||
|
# $args += "$uba_mul_cpu=2.0"
|
||||||
|
# $args += $uba_quic
|
||||||
|
# $args += $
|
||||||
|
|
||||||
|
& $UbaAgent $args
|
@ -131,14 +131,14 @@ function Process-UnrealDeps
|
|||||||
$setup_args += "$fgitdep_cache=$path_gitdeps_cache"
|
$setup_args += "$fgitdep_cache=$path_gitdeps_cache"
|
||||||
# $setup_args += $fgitdep_dryrun
|
# $setup_args += $fgitdep_dryrun
|
||||||
|
|
||||||
$path_setup_log = 'setup_log.txt'
|
# $path_setup_log = 'setup_log.txt'
|
||||||
# & .\Setup.bat $setup_arg
|
|
||||||
& .\Setup.bat
|
|
||||||
# $output = Start-Process -FilePath "cmd.exe" -ArgumentList "/c .\Setup.bat $setup_args" -Wait -PassThru -NoNewWindow -RedirectStandardOutput $path_setup_log
|
# $output = Start-Process -FilePath "cmd.exe" -ArgumentList "/c .\Setup.bat $setup_args" -Wait -PassThru -NoNewWindow -RedirectStandardOutput $path_setup_log
|
||||||
|
# & .\Setup.bat $setup_arg
|
||||||
|
& .\Setup.bat
|
||||||
|
|
||||||
# $path_templates = join-path $path_ue 'Templates'
|
# $path_templates = join-path $path_ue 'Templates'
|
||||||
# remove-item $path_templates -Recurse
|
# remove-item $path_templates -Recurse
|
||||||
'Deleted UE templates (grab them manually if want)'
|
# 'Deleted UE templates (grab them manually if want)'
|
||||||
|
|
||||||
write-host "Finished processing unreal deps`n"
|
write-host "Finished processing unreal deps`n"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user