third time's the charm?
This commit is contained in:
parent
31bcd52c79
commit
f37e954e2f
@ -27,7 +27,6 @@ move "%PublishDir%\*.dll" "%PublishDir%\Lib\"
|
|||||||
move "%PublishDir%\*.json" "%PublishDir%\Lib\"
|
move "%PublishDir%\*.json" "%PublishDir%\Lib\"
|
||||||
move "%PublishDir%\runtimes" "%PublishDir%\Lib\runtimes"
|
move "%PublishDir%\runtimes" "%PublishDir%\Lib\runtimes"
|
||||||
if exist "%PublishDir%\refs" move "%PublishDir%\refs" "%PublishDir%\Lib\refs"
|
if exist "%PublishDir%\refs" move "%PublishDir%\refs" "%PublishDir%\Lib\refs"
|
||||||
if not exist "%PublishDir%\Localization" md "%PublishDir%\Localization"
|
|
||||||
|
|
||||||
echo making start scripts
|
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"
|
@(echo @echo off && echo @title IW4MAdmin && echo set DOTNET_CLI_TELEMETRY_OPTOUT=1 && echo dotnet Lib\IW4MAdmin.dll && echo pause) > "%PublishDir%\StartIW4MAdmin.cmd"
|
||||||
|
@ -2,6 +2,8 @@ param (
|
|||||||
[string]$PublishDir = $(throw "-PublishDir is required.")
|
[string]$PublishDir = $(throw "-PublishDir is required.")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
md -Force ("{0}\Localization" -f PublishDir)
|
||||||
|
|
||||||
$localizations = @("en-US", "ru-RU", "es-EC", "pt-BR", "de-DE")
|
$localizations = @("en-US", "ru-RU", "es-EC", "pt-BR", "de-DE")
|
||||||
foreach($localization in $localizations)
|
foreach($localization in $localizations)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user