mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 13:15:23 +00:00
Support cooking specific cultures in variants
This commit is contained in:
parent
95b5c16e64
commit
43ee834534
@ -6,6 +6,8 @@ class PackageVariant {
|
||||
[string]$Platform
|
||||
# Configuration name i.e. Development, Shipping
|
||||
[string]$Configuration
|
||||
# List of cultures to cook into this variant. If omitted, use the project packaging settings
|
||||
[array]$Cultures
|
||||
# Additional arguments to send to the build command line
|
||||
[string]$ExtraBuildArguments
|
||||
# Whether to create a zip of this package (default false)
|
||||
|
@ -21,7 +21,12 @@
|
||||
"SteamAppId": "YourSteamAppId",
|
||||
"SteamDepotId": "YourWindowsDepotId",
|
||||
"Zip": false,
|
||||
"ExtraBuildArguments": "-EnableSteamworks"
|
||||
"ExtraBuildArguments": "-EnableSteamworks",
|
||||
"Cultures": [
|
||||
"en",
|
||||
"fr",
|
||||
"de"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "PublicWin64Build",
|
||||
|
@ -232,6 +232,9 @@ try {
|
||||
if ($maps.Count) {
|
||||
$argList.Add("-Map=$($maps -join "+")") > $null
|
||||
}
|
||||
if ($var.Cultures) {
|
||||
$argList.Add("-cookcultures=$($var.Cultures -join "+")") > $null
|
||||
}
|
||||
$argList.Add($var.ExtraBuildArguments) > $null
|
||||
|
||||
Write-Output "Building variant: $($var.Name)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user