third time's the charm?

This commit is contained in:
RaidMax 2019-12-07 20:20:44 -06:00
parent 31bcd52c79
commit f37e954e2f
2 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,6 @@ move "%PublishDir%\*.dll" "%PublishDir%\Lib\"
move "%PublishDir%\*.json" "%PublishDir%\Lib\"
move "%PublishDir%\runtimes" "%PublishDir%\Lib\runtimes"
if exist "%PublishDir%\refs" move "%PublishDir%\refs" "%PublishDir%\Lib\refs"
if not exist "%PublishDir%\Localization" md "%PublishDir%\Localization"
echo making start scripts
@(echo @echo off && echo @title IW4MAdmin && echo set DOTNET_CLI_TELEMETRY_OPTOUT=1 && echo dotnet Lib\IW4MAdmin.dll && echo pause) > "%PublishDir%\StartIW4MAdmin.cmd"

View File

@ -2,6 +2,8 @@ param (
[string]$PublishDir = $(throw "-PublishDir is required.")
)
md -Force ("{0}\Localization" -f PublishDir)
$localizations = @("en-US", "ru-RU", "es-EC", "pt-BR", "de-DE")
foreach($localization in $localizations)
{