use proper folder in post publish script
This commit is contained in:
parent
cfd4296f5c
commit
209cb6cdd0
@ -48,8 +48,8 @@ echo making start scripts
|
|||||||
@(echo #!/bin/bash&& echo export DOTNET_CLI_TELEMETRY_OPTOUT=1&& echo dotnet Lib/IW4MAdmin.dll) > "%PublishDir%\StartIW4MAdmin.sh"
|
@(echo #!/bin/bash&& echo export DOTNET_CLI_TELEMETRY_OPTOUT=1&& echo dotnet Lib/IW4MAdmin.dll) > "%PublishDir%\StartIW4MAdmin.sh"
|
||||||
|
|
||||||
echo copying update scripts
|
echo copying update scripts
|
||||||
xcopy "%SourceDir%\UpdateIW4MAdmin.ps1" "%PublishDir%\UpdateIW4MAdmin.ps1"
|
xcopy "%SourceDir%\DeploymentFiles\UpdateIW4MAdmin.ps1" "%PublishDir%\UpdateIW4MAdmin.ps1"
|
||||||
xcopy "%SourceDir%\UpdateIW4MAdmin.sh" "%PublishDir%\UpdateIW4MAdmin.sh"
|
xcopy "%SourceDir%\DeploymentFiles\UpdateIW4MAdmin.sh" "%PublishDir%\UpdateIW4MAdmin.sh"
|
||||||
|
|
||||||
echo moving front-end library dependencies
|
echo moving front-end library dependencies
|
||||||
if not exist "%PublishDir%\wwwroot\font" mkdir "%PublishDir%\wwwroot\font"
|
if not exist "%PublishDir%\wwwroot\font" mkdir "%PublishDir%\wwwroot\font"
|
||||||
|
@ -99,5 +99,7 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
chmod +x "$directory/StartIW4MAdmin.sh"
|
||||||
|
|
||||||
executionTime=$(($SECONDS - start))
|
executionTime=$(($SECONDS - start))
|
||||||
echo "Update completed successfully in $executionTime seconds!"
|
echo "Update completed successfully in $executionTime seconds!"
|
||||||
|
@ -45,9 +45,9 @@ Linux
|
|||||||
Use the provided `UpdateIW4MAdmin` script to download and install automatically
|
Use the provided `UpdateIW4MAdmin` script to download and install automatically
|
||||||
|
|
||||||
| Argument Windows (Linux) | Description |
|
| Argument Windows (Linux) | Description |
|
||||||
|--------------------------|----------------------------------------------------------|
|
|--------------------------|-----------------------------------------------------------|
|
||||||
| -Silent (s) | Do not prompt for any user input |
|
| -Silent (s) | Do not prompt for any user input |
|
||||||
| -Clean (c) | Clean unneeded files listed in `_dlete.txt` after update |
|
| -Clean (c) | Clean unneeded files listed in `_delete.txt` after update |
|
||||||
| -Verified (v) | Only update releases in the verified stream |
|
| -Verified (v) | Only update releases in the verified stream |
|
||||||
| -Directory (d) | Directory to install to |
|
| -Directory (d) | Directory to install to |
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user