use proper folder in post publish script

This commit is contained in:
RaidMax 2022-01-31 16:47:51 -06:00
parent cfd4296f5c
commit 209cb6cdd0
3 changed files with 10 additions and 8 deletions

View File

@ -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 copying update scripts
xcopy "%SourceDir%\UpdateIW4MAdmin.ps1" "%PublishDir%\UpdateIW4MAdmin.ps1"
xcopy "%SourceDir%\UpdateIW4MAdmin.sh" "%PublishDir%\UpdateIW4MAdmin.sh"
xcopy "%SourceDir%\DeploymentFiles\UpdateIW4MAdmin.ps1" "%PublishDir%\UpdateIW4MAdmin.ps1"
xcopy "%SourceDir%\DeploymentFiles\UpdateIW4MAdmin.sh" "%PublishDir%\UpdateIW4MAdmin.sh"
echo moving front-end library dependencies
if not exist "%PublishDir%\wwwroot\font" mkdir "%PublishDir%\wwwroot\font"

View File

@ -99,5 +99,7 @@ then
exit 1
fi
chmod +x "$directory/StartIW4MAdmin.sh"
executionTime=$(($SECONDS - start))
echo "Update completed successfully in $executionTime seconds!"

View File

@ -44,12 +44,12 @@ Linux
**OR**
Use the provided `UpdateIW4MAdmin` script to download and install automatically
| Argument Windows (Linux) | Description |
|--------------------------|----------------------------------------------------------|
| -Silent (s) | Do not prompt for any user input |
| -Clean (c) | Clean unneeded files listed in `_dlete.txt` after update |
| -Verified (v) | Only update releases in the verified stream |
| -Directory (d) | Directory to install to |
| Argument Windows (Linux) | Description |
|--------------------------|-----------------------------------------------------------|
| -Silent (s) | Do not prompt for any user input |
| -Clean (c) | Clean unneeded files listed in `_delete.txt` after update |
| -Verified (v) | Only update releases in the verified stream |
| -Directory (d) | Directory to install to |
## Help
Feel free to join the **IW4MAdmin** [Discord](https://discord.gg/ZZFK5p3)